Change default Qt quick control style depending on the platform.
authorCamila Ayres <hello@camilasan.com>
Wed, 7 Aug 2024 15:05:29 +0000 (17:05 +0200)
committerMatthieu Gallien <matthieu.gallien@nextcloud.com>
Fri, 6 Sep 2024 08:55:41 +0000 (10:55 +0200)
Signed-off-by: Camila Ayres <hello@camilasan.com>
src/gui/main.cpp

index 2e7649fe6d78ee2b098bcb62465f9d1cfe34f4c8..8fcb28fe416458971d5224b27b4bbc3ae12592fa 100644 (file)
@@ -84,6 +84,9 @@ int main(int argc, char **argv)
 
     OCC::Application app(argc, argv);
 
+
+    QQuickStyle::setStyle(style);
+
 #ifndef Q_OS_WIN
     signal(SIGPIPE, SIG_IGN);
 #endif