@@ -403,7 +403,9 @@ MainWindow::MainWindow(Application *app,
|
||||
// Initialize the UI
|
||||
ui_->setupUi(this);
|
||||
|
||||
setWindowIcon(IconLoader::Load(u"strawberry"_s));
|
||||
if (QGuiApplication::platformName() != "wayland"_L1) {
|
||||
setWindowIcon(IconLoader::Load(u"strawberry"_s));
|
||||
}
|
||||
|
||||
QObject::connect(&*app->database(), &Database::Error, this, &MainWindow::ShowErrorDialog);
|
||||
|
||||
|
||||
@@ -206,7 +206,9 @@ int main(int argc, char *argv[]) {
|
||||
|
||||
QThread::currentThread()->setObjectName(u"Main"_s);
|
||||
|
||||
QGuiApplication::setWindowIcon(IconLoader::Load(u"strawberry"_s));
|
||||
if (QGuiApplication::platformName() != "wayland"_L1) {
|
||||
QGuiApplication::setWindowIcon(IconLoader::Load(u"strawberry"_s));
|
||||
}
|
||||
|
||||
#if defined(USE_BUNDLE)
|
||||
qLog(Debug) << "Looking for resources in" << QCoreApplication::libraryPaths();
|
||||
|
||||
Reference in New Issue
Block a user