]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphinviewcontainer.h
Exit the deleted directory when it is removed
[dolphin.git] / src / dolphinviewcontainer.h
index 3ff5759703062c15d31fcba4c52b06446ba9d2a4..83d3ed1a1be89dd27872720b467461cbbab97ace 100644 (file)
@@ -400,6 +400,7 @@ private Q_SLOTS:
 
     void slotHiddenFilesShownChanged(bool showHiddenFiles);
     void slotSortHiddenLastChanged(bool hiddenLast);
+    void slotCurrentDirectoryRemoved();
 
     void slotOpenUrlFinished(KJob* job);
 
@@ -421,6 +422,11 @@ private:
      */
     void tryRestoreViewState();
 
+    /**
+     * @return Path of nearest existing ancestor directory.
+     */
+    QString getNearestExistingAncestorOfPath(const QString& path) const;
+
 private:
     QGridLayout *m_topLayout;