summaryrefslogtreecommitdiffstats
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 Tomaz Canabrava <tcanabrava@kde.org>2017-11-29 11:46:35 +0100
commitb0d98f6e269be9560de1b9c140855c85fecf1dd1 (patch)
tree34315eef0a562ddff3b7c7ef3d26de24eaef81c1 /subsurface-mobile-helper.cpp
parent6437a2e18e9464162395bc0dd5b5f4754efc7d93 (diff)
downloadsubsurface-b0d98f6e269be9560de1b9c140855c85fecf1dd1.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();