diff options
-rw-r--r-- | icons/subsurface-mobile-icon.png | bin | 0 -> 18816 bytes | |||
-rw-r--r-- | qt-gui.cpp | 1 | ||||
-rw-r--r-- | subsurface.qrc | 1 |
3 files changed, 2 insertions, 0 deletions
diff --git a/icons/subsurface-mobile-icon.png b/icons/subsurface-mobile-icon.png Binary files differnew file mode 100644 index 000000000..302cc6bba --- /dev/null +++ b/icons/subsurface-mobile-icon.png 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(); diff --git a/subsurface.qrc b/subsurface.qrc index b8129285f..1eaa8cc70 100644 --- a/subsurface.qrc +++ b/subsurface.qrc @@ -2,6 +2,7 @@ <qresource prefix="/"> <file alias="star">icons/star.svg</file> <file alias="subsurface-icon">icons/subsurface-icon.png</file> + <file alias="subsurface-mobile-icon">icons/subsurface-mobile-icon.png</file> <file alias="plus">icons/plus.png</file> <file alias="trash">icons/trash.png</file> <file alias="units">icons/units.png</file> |