diff options
| author | Elvis Angelaccio <[email protected]> | 2018-04-29 17:07:18 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2018-04-29 17:07:18 +0200 |
| commit | b9d6a977112165fc17abcb9797415215a2d6cf6e (patch) | |
| tree | 17f0c731f7038c593a76c9f2f9002fef71b74afb /src/dolphinmainwindow.cpp | |
| parent | 362244ccbe694442b9145bbcea975f91b4c44af1 (diff) | |
Bundle dolphinui.rc also in dolphinmainwindowtest
Otherwise the test executable will not be able to find the .rc file
while creating a DolphinMainWindow instance.
We also need to force the component name to `dolphin`, otherwise kxmlgui
will default to the name of the binary (which in this case would be
dolphinmainwindowtest rather than dolphin).
Diffstat (limited to 'src/dolphinmainwindow.cpp')
| -rw-r--r-- | src/dolphinmainwindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphinmainwindow.cpp b/src/dolphinmainwindow.cpp index 6071f42db..b07849ccd 100644 --- a/src/dolphinmainwindow.cpp +++ b/src/dolphinmainwindow.cpp @@ -105,7 +105,7 @@ DolphinMainWindow::DolphinMainWindow() : m_tearDownFromPlacesRequested(false) { Q_INIT_RESOURCE(dolphin); - + setComponentName(QStringLiteral("dolphin"), QGuiApplication::applicationDisplayName()); setObjectName(QStringLiteral("Dolphin#")); connect(&DolphinNewFileMenuObserver::instance(), &DolphinNewFileMenuObserver::errorMessage, |
