mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
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>
This commit is contained in:
parent
6437a2e18e
commit
b0d98f6e26
26 changed files with 51 additions and 51 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue