diff options
| author | Elvis Angelaccio <[email protected]> | 2017-07-28 13:35:50 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2017-07-28 14:05:53 +0200 |
| commit | 594a36783471fb3f8b23a2b543010d3c9d4cc878 (patch) | |
| tree | 7eb078a6763a10baaacfeb7f91d5ee50dc45dde5 | |
| parent | 63e2d65bc86184e1e7062809dbafc0204444fb34 (diff) | |
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
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 3d6f8489d..658b89006 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, |
