mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Use mobile icon for subsurface-mobile
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
121f9f1902
commit
27f55cb964
3 changed files with 2 additions and 0 deletions
BIN
icons/subsurface-mobile-icon.png
Normal file
BIN
icons/subsurface-mobile-icon.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 18 KiB |
|
@ -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();
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue