summaryrefslogtreecommitdiffstats
path: root/qt-gui.cpp
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-09 20:34:04 -0700
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-07-09 20:47:16 -0700
commit27f55cb964a67edcd7146aa43bc4af640378bb67 (patch)
treee26899c347c3ed72a6987d3407b5c7ed5e4e46da /qt-gui.cpp
parent121f9f1902ce8d6ae761f5fdb4361fa9c30880dd (diff)
downloadsubsurface-27f55cb964a67edcd7146aa43bc4af640378bb67.tar.gz
Use mobile icon for subsurface-mobile
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-gui.cpp')
-rw-r--r--qt-gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/qt-gui.cpp b/qt-gui.cpp
index e5ff6aa23..a3a61e408 100644
--- a/qt-gui.cpp
+++ b/qt-gui.cpp
@@ -46,6 +46,7 @@ void run_ui()
engine.load(QUrl(QStringLiteral("qrc:///qml/main.qml")));
QObject *mainWindow = engine.rootObjects().value(0);
QQuickWindow *qml_window = qobject_cast<QQuickWindow *>(mainWindow);
+ qml_window->setIcon(QIcon(":/subsurface-mobile-icon"));
qml_window->show();
#else
window->show();