From 5084c7712e68cd7aba1ec63746aaa0d9dd56db67 Mon Sep 17 00:00:00 2001 From: Arno Date: Sun, 27 Nov 2016 07:19:41 +0100 Subject: Prevent resizing of Viewer looks ugly! --- viewer.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'viewer.cpp') diff --git a/viewer.cpp b/viewer.cpp index e8d5f7f..b1a3781 100644 --- a/viewer.cpp +++ b/viewer.cpp @@ -76,4 +76,5 @@ void Viewer::displayFile(int index){ adjustSize(); QString winTitle = QString(tr("%1 Viewer [%2]")).arg(qApp->applicationName()).arg(mFiles.at(mCurIndex)); setWindowTitle(winTitle); + setFixedSize(size()); } -- cgit v1.2.3-70-g09d2