diff options
author | Arno <arno@disconnect.de> | 2016-10-01 14:46:47 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2016-10-01 14:46:47 +0200 |
commit | 726e55799ea72e4e92a23535428eea5706ce5f56 (patch) | |
tree | dc6ced625a46e1357e6f7211871556683131a19e /shemov.cpp | |
parent | 9f7eb6110e21ecd3a058ff6ff4316c2c5605d172 (diff) | |
download | SheMov-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.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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())); |