From 3f14c4198dd29b3428e37befe5aec5fa8c5bcf68 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 2 Jul 2022 21:14:23 +0200 Subject: 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. --- viewer.h | 1 + 1 file changed, 1 insertion(+) (limited to 'viewer.h') 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 -- cgit v1.2.3-70-g09d2