From fa24cc8e115e785cc02d0d3d3bf0c1574c783f63 Mon Sep 17 00:00:00 2001 From: Sebastian Trueg Date: Mon, 15 Mar 2010 09:55:51 +0000 Subject: Stat URLs before opening them to make sure they are actually dirs we can list. Otherwise use KRun. svn path=/trunk/KDE/kdebase/apps/; revision=1103520 --- src/dolphinmainwindow.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/dolphinmainwindow.h') diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 6c2089fcf..7479c05b1 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -423,6 +423,12 @@ private slots: */ void handleUrl(const KUrl& url); + /** + * handleUrl() can trigger a stat job to see if the url can actually + * be listed. + */ + void slotHandleUrlStatFinished(KJob* job); + /** * setUrlAsCaption() will trigger a stat job which reports its result in * this slot. @@ -555,6 +561,7 @@ private: QPointer m_settingsDialog; KJob* m_captionStatJob; + KJob* m_lastHandleUrlStatJob; }; inline DolphinViewContainer* DolphinMainWindow::activeViewContainer() const -- cgit v1.3