aboutsummaryrefslogtreecommitdiffstats
path: root/subsurface-mobile-helper.cpp
diff options
context:
space:
mode:
authorGravatar Martin Měřinský <mermar@centrum.cz>2017-11-28 08:37:01 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2017-11-30 23:14:46 -0800
commit0855f6f31577789888aa6d9b955c1bc46ed34d40 (patch)
treee1f55758e3982a3dea0a3966536843cbed84afc5 /subsurface-mobile-helper.cpp
parent9cc0d04048e0c50e82525fde476345c8f951b0e7 (diff)
downloadsubsurface-0855f6f31577789888aa6d9b955c1bc46ed34d40.tar.gz
Use icons relative path.
Icon paths are defined in one place only - application's embedded resources. Signed-off-by: Martin Měřinský <mermar@centrum.cz>
Diffstat (limited to 'subsurface-mobile-helper.cpp')
-rw-r--r--subsurface-mobile-helper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/subsurface-mobile-helper.cpp b/subsurface-mobile-helper.cpp
index 31e582020..98d412aca 100644
--- a/subsurface-mobile-helper.cpp
+++ b/subsurface-mobile-helper.cpp
@@ -101,7 +101,7 @@ void run_ui()
exit(1);
}
QQuickWindow *qml_window = qobject_cast<QQuickWindow *>(qqWindowObject);
- qml_window->setIcon(QIcon(":/subsurface-mobile-icon"));
+ qml_window->setIcon(QIcon(":subsurface-mobile-icon"));
qqWindowObject->setProperty("messageText", QVariant("Subsurface-mobile startup"));
qDebug() << "qqwindow devicePixelRatio" << qml_window->devicePixelRatio() << qml_window->screen()->devicePixelRatio();
QScreen *screen = qml_window->screen();