summaryrefslogtreecommitdiffstats
path: root/viewer.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2022-07-02 21:14:23 +0200
committerArno <arno@disconnect.de>2022-07-02 21:14:23 +0200
commit3f14c4198dd29b3428e37befe5aec5fa8c5bcf68 (patch)
tree88aeb8a644da487cfaaa9b8c71550faebd5c3b7d /viewer.h
parente47954d9333c329b47a35ebbf63ee2a65e40d055 (diff)
downloadSheMov-3f14c4198dd29b3428e37befe5aec5fa8c5bcf68.tar.gz
SheMov-3f14c4198dd29b3428e37befe5aec5fa8c5bcf68.tar.bz2
SheMov-3f14c4198dd29b3428e37befe5aec5fa8c5bcf68.zip
Set fixed size for viewer.cpp
While adding new pictures to my collection, I realized that the simple viewer didn't obey it's size restrictions and grew out of proportions. So make the maximum size configurable.
Diffstat (limited to 'viewer.h')
-rw-r--r--viewer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/viewer.h b/viewer.h
index e5a8a02..c3980c8 100644
--- a/viewer.h
+++ b/viewer.h
@@ -22,6 +22,7 @@ class Viewer : public QWidget {
int mCurIndex;
QLabel *mLabel;
QStringList mFiles;
+ QSize mMaxSize;
};
#endif // VIEWER_H