diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2015-07-09 20:34:04 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2015-07-09 20:47:16 -0700 |
commit | 27f55cb964a67edcd7146aa43bc4af640378bb67 (patch) | |
tree | e26899c347c3ed72a6987d3407b5c7ed5e4e46da /qt-gui.cpp | |
parent | 121f9f1902ce8d6ae761f5fdb4361fa9c30880dd (diff) | |
download | subsurface-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.cpp | 1 |
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(); |