summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2016-10-01 14:46:47 +0200
committerArno <arno@disconnect.de>2016-10-01 14:46:47 +0200
commit726e55799ea72e4e92a23535428eea5706ce5f56 (patch)
treedc6ced625a46e1357e6f7211871556683131a19e /shemov.cpp
parent9f7eb6110e21ecd3a058ff6ff4316c2c5605d172 (diff)
downloadSheMov-726e55799ea72e4e92a23535428eea5706ce5f56.tar.gz
SheMov-726e55799ea72e4e92a23535428eea5706ce5f56.tar.bz2
SheMov-726e55799ea72e4e92a23535428eea5706ce5f56.zip
Update free space when event occurs
Update free space when we get an inotify event that changes disk space, or when refresh is called.
Diffstat (limited to 'shemov.cpp')
-rw-r--r--shemov.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index 0aa87fd..b43b530 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -128,6 +128,7 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla
connect(mFSWidget->dirModel(), SIGNAL(dataChanged(QModelIndex,QModelIndex)), this, SLOT(setFsFree()));
connect(mFSWidget->dirModel(), SIGNAL(layoutChanged()), this, SLOT(setFsFree()));
connect(mFSWidget->dirModel(), SIGNAL(rowsRemoved(QModelIndex,int,int)), this, SLOT(setFsFree()));
+ connect(mFSWidget->fileModel(), SIGNAL(fsFreeChanged()), this, SLOT(setFsFree()));
connect(this, SIGNAL(configChanged()), mFSWidget->fileView(), SLOT(readConfig()));
connect(this, SIGNAL(configChanged()), picViewer, SLOT(readSettings()));
connect(this, SIGNAL(configChanged()), c->archiveTreeModel(), SLOT(readConfig()));