diff options
| author | Laurent Montel <[email protected]> | 2019-12-06 13:31:43 +0100 |
|---|---|---|
| committer | Laurent Montel <[email protected]> | 2019-12-06 13:31:43 +0100 |
| commit | 31dd81bb0c7cd77e65c095ec4b49ad95935946c6 (patch) | |
| tree | 8f0eaa8f704406aceb7b1fb2af902d205bf55262 /src/dolphinpart.cpp | |
| parent | 69838a1cdd6a10d9d6ca6572962c438a97d46b36 (diff) | |
Make it compile against last kf5 version without deprecated methods
Diffstat (limited to 'src/dolphinpart.cpp')
| -rw-r--r-- | src/dolphinpart.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp index dc083f1a5..edf58f565 100644 --- a/src/dolphinpart.cpp +++ b/src/dolphinpart.cpp @@ -572,7 +572,7 @@ void DolphinPart::updateNewMenu() m_newFileMenu->checkUpToDate(); m_newFileMenu->setViewShowsHiddenFiles(m_view->hiddenFilesShown()); // And set the files that the menu apply on : - m_newFileMenu->setPopupFiles(url()); + m_newFileMenu->setPopupFiles(QList<QUrl>() << url()); } void DolphinPart::updateStatusBar() @@ -589,7 +589,7 @@ void DolphinPart::updateProgress(int percent) void DolphinPart::createDirectory() { m_newFileMenu->setViewShowsHiddenFiles(m_view->hiddenFilesShown()); - m_newFileMenu->setPopupFiles(url()); + m_newFileMenu->setPopupFiles(QList<QUrl>() << url()); m_newFileMenu->createDirectory(); } |
