mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
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
This commit is contained in:
parent
63e2d65bc8
commit
594a367834
|
@ -98,6 +98,8 @@ DolphinMainWindow::DolphinMainWindow() :
|
||||||
m_updateToolBarTimer(0),
|
m_updateToolBarTimer(0),
|
||||||
m_lastHandleUrlStatJob(0)
|
m_lastHandleUrlStatJob(0)
|
||||||
{
|
{
|
||||||
|
Q_INIT_RESOURCE(dolphin);
|
||||||
|
|
||||||
setObjectName(QStringLiteral("Dolphin#"));
|
setObjectName(QStringLiteral("Dolphin#"));
|
||||||
|
|
||||||
connect(&DolphinNewFileMenuObserver::instance(), &DolphinNewFileMenuObserver::errorMessage,
|
connect(&DolphinNewFileMenuObserver::instance(), &DolphinNewFileMenuObserver::errorMessage,
|
||||||
|
|
Loading…
Reference in a new issue