aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quickcontrols2/wearable/wearable.cpp
diff options
context:
space:
mode:
authorMitch Curtis <mitch.curtis@qt.io>2018-09-10 16:15:01 +0200
committerMitch Curtis <mitch.curtis@qt.io>2018-09-27 11:39:47 +0000
commitfb6763fddfce329924ccb3678fbdf7875978a7ca (patch)
tree9a27d6b9c9ccbb5f954bb57c55c655fd3c59eedb /examples/quickcontrols2/wearable/wearable.cpp
parent8a87193078d7a51c5a049e4698c44b0af43edbb3 (diff)
wearable: add a dark theme with a runtime switch on the Settings page
Change-Id: Iaa205c19aa413de7a5537f17f74d969547d5e558 Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@qt.io>
Diffstat (limited to 'examples/quickcontrols2/wearable/wearable.cpp')
-rw-r--r--examples/quickcontrols2/wearable/wearable.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/examples/quickcontrols2/wearable/wearable.cpp b/examples/quickcontrols2/wearable/wearable.cpp
index e90ec413..68dee7c0 100644
--- a/examples/quickcontrols2/wearable/wearable.cpp
+++ b/examples/quickcontrols2/wearable/wearable.cpp
@@ -56,6 +56,9 @@
int main(int argc, char *argv[])
{
QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
+ QCoreApplication::setApplicationName("Wearable");
+ QCoreApplication::setOrganizationName("QtProject");
+
QGuiApplication app(argc, argv);
//! [style]