summaryrefslogtreecommitdiffstats
path: root/filewidget.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2017-12-18 16:55:04 +0100
committerArno <arno@disconnect.de>2017-12-18 16:55:04 +0100
commit868a73530a00d0b58477ecff7cc658fcaec92c7a (patch)
treeefe99d19b46c778a87450ee5732e1aefe122369b /filewidget.h
parent8e9007ba62af82e1d6256251c2f99303661f6199 (diff)
downloadShemovCleaner-868a73530a00d0b58477ecff7cc658fcaec92c7a.tar.gz
ShemovCleaner-868a73530a00d0b58477ecff7cc658fcaec92c7a.tar.bz2
ShemovCleaner-868a73530a00d0b58477ecff7cc658fcaec92c7a.zip
Use QT for deleting directories
QDir has a function removeRecursively(). Use that instead of a homebrew implementation. Don't gatherData() after that, just remove the deleted items from the view.
Diffstat (limited to 'filewidget.h')
-rw-r--r--filewidget.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/filewidget.h b/filewidget.h
index d48aa80..458d3eb 100644
--- a/filewidget.h
+++ b/filewidget.h
@@ -86,7 +86,6 @@ class FileWidget : public QWidget {
void writeHeaderData();
void readSettings();
void writeSettings();
- void deleteRecursive(const QFileInfo &start);
void cutOrCopy();
QAction *createSeparator();
QLineEdit *mDir;