From 33330c55ec234e7ff31727c5a64bdd84768fa0d2 Mon Sep 17 00:00:00 2001 From: Christian Mollekopf Date: Tue, 19 Dec 2017 15:14:42 +0100 Subject: Removed setting the theme from main.cpp It's redundant (we're setting it from frameworkplugin), and if main.cpp doesn't contain any "special" setup code, then using qmlscene should work just as well, which is good for development. --- applications/kube/main.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/applications/kube/main.cpp b/applications/kube/main.cpp index 9241d898..e098ed3a 100644 --- a/applications/kube/main.cpp +++ b/applications/kube/main.cpp @@ -36,11 +36,9 @@ #include #include #include - -#include #include - #include + #include "framework/src/keyring.h" #include "kube_version.h" @@ -170,8 +168,6 @@ int main(int argc, char *argv[]) } } - QIcon::setThemeName("kube"); - QQmlApplicationEngine engine; const auto file = "/org/kube/components/kube/main.qml"; const auto mainFile = [&] { -- cgit v1.2.3