Use mobile icon for subsurface-mobile

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-07-09 20:34:04 -07:00
parent 121f9f1902
commit 27f55cb964
3 changed files with 2 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View file

@ -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();

View file

@ -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>