Revert "Use icons relative path."

This reverts commit b0d98f6e26.
This commit is contained in:
Dirk Hohndel 2017-11-29 14:04:52 -08:00
parent 2747056889
commit fd9c905ba3
26 changed files with 51 additions and 51 deletions

View file

@ -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();