[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [ktouch/homescreen-ng] src: Use Default Style For Qt Quick Components
From:       Sebastian Gottfried <null () kde ! org>
Date:       2017-10-31 16:16:46
Message-ID: E1e9ZDa-00021i-B0 () code ! kde ! org
[Download RAW message or body]

Git commit 6358710b55970274fb996304d08334a15d176454 by Sebastian Gottfried.
Committed on 31/10/2017 at 14:36.
Pushed by gottfried into branch 'homescreen-ng'.

Use Default Style For Qt Quick Components

Our control customizations probably break with over styles.

M  +3    -0    src/application.cpp

https://commits.kde.org/ktouch/6358710b55970274fb996304d08334a15d176454

diff --git a/src/application.cpp b/src/application.cpp
index 5389062..247762a 100644
--- a/src/application.cpp
+++ b/src/application.cpp
@@ -21,6 +21,7 @@
 #include <QFile>
 #include <QQmlEngine>
 #include <QQmlContext>
+#include <QQuickStyle>
 #include <QStandardPaths>
 =

 #include <Kdelibs4ConfigMigrator>
@@ -60,6 +61,8 @@ Application::Application(int& argc, char** argv, int flag=
s):
     registerQmlTypes();
     migrateKde4Files();
 =

+    QQuickStyle::setStyle("Default");
+
     DataAccess dataAccess;
     dataAccess.loadDataIndex(m_dataIndex);
 }

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic