diff options
| author | Sebastian Trueg <[email protected]> | 2010-03-15 09:55:51 +0000 |
|---|---|---|
| committer | Sebastian Trueg <[email protected]> | 2010-03-15 09:55:51 +0000 |
| commit | fa24cc8e115e785cc02d0d3d3bf0c1574c783f63 (patch) | |
| tree | e1fd2422d476551eb38c1d09b033d29f428bfa55 /src/dolphinmainwindow.h | |
| parent | a80da4153a8f2c1a085ce76869d62d8427781704 (diff) | |
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
Diffstat (limited to 'src/dolphinmainwindow.h')
| -rw-r--r-- | src/dolphinmainwindow.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/dolphinmainwindow.h b/src/dolphinmainwindow.h index 6c2089fcf..7479c05b1 100644 --- a/src/dolphinmainwindow.h +++ b/src/dolphinmainwindow.h @@ -424,6 +424,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<DolphinSettingsDialog> m_settingsDialog; KJob* m_captionStatJob; + KJob* m_lastHandleUrlStatJob; }; inline DolphinViewContainer* DolphinMainWindow::activeViewContainer() const |
