summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2011-04-30 11:43:27 +0200
committerArno <am@disconnect.de>2011-04-30 11:43:27 +0200
commitb02f4fef1d063f03b6e8b2b961a9049ad53d6c68 (patch)
tree72d2adb9ebacfa05084ae484ed9d50a3935f3c2c /shemov.cpp
parentf0ac8500b63511a8307f332c4b86670545fc4ca6 (diff)
downloadSheMov-b02f4fef1d063f03b6e8b2b961a9049ad53d6c68.tar.gz
SheMov-b02f4fef1d063f03b6e8b2b961a9049ad53d6c68.tar.bz2
SheMov-b02f4fef1d063f03b6e8b2b961a9049ad53d6c68.zip
PictureViewer fixes
Add an option making resizing the picture viewer to the size of the picture configurable. It's desirable when using a tiling window manager.
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 ec846c5..9cb0a86 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -100,6 +100,7 @@ SheMov::SheMov(QWidget *parent, Qt::WindowFlags flags) : QMainWindow(parent, fla
connect(mFSWidget->dirModel(), SIGNAL(rowsRemoved(QModelIndex,int,int)), this, SLOT(setFsFree()));
connect(this, SIGNAL(configChanged()), mFSWidget->fileView(), SLOT(readConfig()));
connect(this, SIGNAL(configChanged()), mATree->seriesWidget(), SLOT(readSettings()));
+ connect(this, SIGNAL(configChanged()), SmGlobals::instance()->pictureViewer(), SLOT(readSettings()));
connect(mFSWidget, SIGNAL(mounted(bool)), this, SLOT(checkMount(bool)));
QWidget *centralWidget = new QWidget;