┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphinmainwindow.h
diff options
context:
space:
mode:
authorAhmad Samir <[email protected]>2020-09-14 16:01:47 +0200
committerElvis Angelaccio <[email protected]>2020-09-20 21:29:23 +0000
commit9b83378c087a87cef537ba751b7713aff8bed84c (patch)
treefaeb65576e074f130611bc435f7ef04206d2831f /src/dolphinmainwindow.h
parentd0c71a1435bc9d67475c5525c3641bd4a13c61f0 (diff)
Check protocol Class before creating a StatJob
StatJob::mostLocalUrl only works with ":local" protocols, adjust the code accordingly. Make the code async. Remove activeContainerLocalPath() method as it isn't needed anymore. Drive-by change: minimum required version of Qt should be 5.12 because that's what KF >= 5.73 already requires.
Diffstat (limited to 'src/dolphinmainwindow.h')
-rw-r--r--src/dolphinmainwindow.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h
index 79084ae7d..c03eb1be0 100644
--- a/src/dolphinmainwindow.h
+++ b/src/dolphinmainwindow.h
@@ -592,12 +592,6 @@ private:
/** Adds "What's This?" texts to many widgets and StandardActions. */
void setupWhatsThis();
- /**
- * Returns the KIO::StatJob::mostLocalUrl() for the active container URL
- * if it's a local file. Otherwise returns the user's home path.
- */
- QString activeContainerLocalPath();
-
/** Returns preferred search tool as configured in "More Search Tools" menu. */
QPointer<QAction> preferredSearchTool();