┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinpart.cpp
diff options
context:
space:
mode:
authorMéven Car <[email protected]>2023-08-28 10:32:35 +0200
committerMéven Car <[email protected]>2023-08-28 10:36:37 +0200
commit1318f16fd7b84de79c04eb468d61e1c9b7b52e15 (patch)
tree430c477f6d9229eede00ece60d11b09be3b498cc /src/dolphinpart.cpp
parenta2e888d9a03add380c113c0f5edff5391e90a358 (diff)
Clean obsolete ifdefs since dolphin requires KF 5.101+
Diffstat (limited to 'src/dolphinpart.cpp')
-rw-r--r--src/dolphinpart.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/dolphinpart.cpp b/src/dolphinpart.cpp
index f8da1c353..aac278035 100644
--- a/src/dolphinpart.cpp
+++ b/src/dolphinpart.cpp
@@ -548,11 +548,7 @@ void DolphinPart::updateNewMenu()
// As requested by KNewFileMenu :
m_newFileMenu->checkUpToDate();
// And set the files that the menu apply on :
-#if KIO_VERSION >= QT_VERSION_CHECK(5, 97, 0)
m_newFileMenu->setWorkingDirectory(url());
-#else
- m_newFileMenu->setPopupFiles(QList<QUrl>() << url());
-#endif
}
void DolphinPart::updateStatusBar()
@@ -567,11 +563,7 @@ void DolphinPart::updateProgress(int percent)
void DolphinPart::createDirectory()
{
-#if KIO_VERSION >= QT_VERSION_CHECK(5, 97, 0)
m_newFileMenu->setWorkingDirectory(url());
-#else
- m_newFileMenu->setPopupFiles(QList<QUrl>() << url());
-#endif
m_newFileMenu->createDirectory();
}