From 30825ca49bba047238ff96020c628116b1baf33d Mon Sep 17 00:00:00 2001
From: Akira Ohgaki <akiraohgaki@gmail.com>
Date: Thu, 27 Apr 2017 16:12:02 +0900
Subject: [PATCH] Code cleanup

---
 app/src/handlers/confighandler.cpp | 5 -----
 app/src/handlers/confighandler.h   | 1 -
 app/src/handlers/itemhandler.h     | 2 +-
 3 files changed, 1 insertion(+), 7 deletions(-)

diff --git a/app/src/handlers/confighandler.cpp b/app/src/handlers/confighandler.cpp
index f296718..88ad828 100644
--- a/app/src/handlers/confighandler.cpp
+++ b/app/src/handlers/confighandler.cpp
@@ -45,11 +45,6 @@ QJsonObject ConfigHandler::getAppConfigInstallTypes()
     return appConfigInstallTypes_;
 }
 
-QJsonObject ConfigHandler::getAppConfigFeaturedProviders()
-{
-    return appConfig_.get("featured_providers");
-}
-
 QJsonObject ConfigHandler::getUsrConfigApplication()
 {
     return usrConfig_.get("application");
diff --git a/app/src/handlers/confighandler.h b/app/src/handlers/confighandler.h
index cc38a18..ebaa18e 100644
--- a/app/src/handlers/confighandler.h
+++ b/app/src/handlers/confighandler.h
@@ -15,7 +15,6 @@ public:
 public slots:
     QJsonObject getAppConfigApplication();
     QJsonObject getAppConfigInstallTypes();
-    QJsonObject getAppConfigFeaturedProviders();
 
     QJsonObject getUsrConfigApplication();
     bool setUsrConfigApplication(const QJsonObject &object);
diff --git a/app/src/handlers/itemhandler.h b/app/src/handlers/itemhandler.h
index 2bfebf8..b7bd685 100644
--- a/app/src/handlers/itemhandler.h
+++ b/app/src/handlers/itemhandler.h
@@ -29,7 +29,7 @@ signals:
 public slots:
     QJsonObject metadataSet() const;
 
-    void download(const QString &url, const QString &installType, const QString &providerKey, const QString &contentId);
+    void download(const QString &url, const QString &installType, const QString &providerKey = "", const QString &contentId = "");
     void uninstall(const QString &itemKey);
 
 private slots:
-- 
GitLab