diff options
| author | Ahmad Samir <[email protected]> | 2020-09-14 16:01:47 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2020-09-20 21:29:23 +0000 |
| commit | 9b83378c087a87cef537ba751b7713aff8bed84c (patch) | |
| tree | faeb65576e074f130611bc435f7ef04206d2831f /src/dolphinmainwindow.h | |
| parent | d0c71a1435bc9d67475c5525c3641bd4a13c61f0 (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.h | 6 |
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(); |
