aboutsummaryrefslogtreecommitdiff
path: root/src/mainwindow.cpp
diff options
context:
space:
mode:
authorLibravatar Keshav Bhatt <keshavnrj@gmail.com>2021-07-24 17:26:39 +0530
committerLibravatar Keshav Bhatt <keshavnrj@gmail.com>2021-07-24 17:26:39 +0530
commit9c721d36d88f1ed5d09b348ef4e0b859b57e03c1 (patch)
treee032e91b8d3ce027f9da1af146c35a5d12078448 /src/mainwindow.cpp
parentaa7e18cbf4204f3de0036ebf841f224786040637 (diff)
downloadwhatsie-9c721d36d88f1ed5d09b348ef4e0b859b57e03c1.tar.gz
whatsie-9c721d36d88f1ed5d09b348ef4e0b859b57e03c1.zip
updated the minimum size of window to prevent scrollbars.
- 650px*520px
Diffstat (limited to 'src/mainwindow.cpp')
-rw-r--r--src/mainwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainwindow.cpp b/src/mainwindow.cpp
index a3f6776..85df9ae 100644
--- a/src/mainwindow.cpp
+++ b/src/mainwindow.cpp
@@ -24,8 +24,8 @@ MainWindow::MainWindow(QWidget *parent)
setWindowTitle(QApplication::applicationName());
setWindowIcon(QIcon(":/icons/app/icon-256.png"));
- setMinimumWidth(800);
- setMinimumHeight(500);
+ setMinimumWidth(650);
+ setMinimumHeight(520);
restoreGeometry(settings.value("geometry").toByteArray());
restoreState(settings.value("windowState").toByteArray());