From 594a36783471fb3f8b23a2b543010d3c9d4cc878 Mon Sep 17 00:00:00 2001 From: Elvis Angelaccio Date: Fri, 28 Jul 2017 13:35:50 +0200 Subject: [PATCH] Fix loading of dolphinui.rc dolphin.qrc is compiled into a static library, which means we need to force its loading with the Q_INIT_RESOURCE macro. See http://doc.qt.io/qt-5/resources.html#using-resources-in-a-library BUG: 382848 FIXED-IN: 17.07.90 Differential Revision: https://phabricator.kde.org/D6958 --- src/dolphinmainwindow.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 3d6f8489de..658b89006f 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -98,6 +98,8 @@ DolphinMainWindow::DolphinMainWindow() : m_updateToolBarTimer(0), m_lastHandleUrlStatJob(0) { + Q_INIT_RESOURCE(dolphin); + setObjectName(QStringLiteral("Dolphin#")); connect(&DolphinNewFileMenuObserver::instance(), &DolphinNewFileMenuObserver::errorMessage,