diff options
author | Martin Měřinský <mermar@centrum.cz> | 2017-11-28 08:37:01 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-11-30 23:14:46 -0800 |
commit | 0855f6f31577789888aa6d9b955c1bc46ed34d40 (patch) | |
tree | e1f55758e3982a3dea0a3966536843cbed84afc5 /subsurface-mobile-helper.cpp | |
parent | 9cc0d04048e0c50e82525fde476345c8f951b0e7 (diff) | |
download | subsurface-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.cpp | 2 |
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(); |