aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/main_window/GeneralMainWindow.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-07-28 21:09:43 +0000
committersaturneric <[email protected]>2024-07-28 21:09:43 +0000
commit1b3925284a988070d539ce9bd0a734670da6f468 (patch)
tree8fb097b8266857a2434fdd9941b199b9f1b01491 /src/ui/main_window/GeneralMainWindow.cpp
parentfix: some build issues of github actions (diff)
downloadGpgFrontend-1b3925284a988070d539ce9bd0a734670da6f468.tar.gz
GpgFrontend-1b3925284a988070d539ce9bd0a734670da6f468.zip
fix: adjust min size of main window and key management
Diffstat (limited to '')
-rw-r--r--src/ui/main_window/GeneralMainWindow.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/main_window/GeneralMainWindow.cpp b/src/ui/main_window/GeneralMainWindow.cpp
index 3c689dfe..9ea13836 100644
--- a/src/ui/main_window/GeneralMainWindow.cpp
+++ b/src/ui/main_window/GeneralMainWindow.cpp
@@ -59,7 +59,7 @@ void GpgFrontend::UI::GeneralMainWindow::slot_restore_settings() noexcept {
QByteArray::fromBase64(window_state.window_state_data.toUtf8()));
}
- this->setMinimumSize(640, 480);
+ this->setMinimumSize(800, 600);
// restore window size & location
if (window_state.window_save) {
@@ -91,8 +91,8 @@ void GpgFrontend::UI::GeneralMainWindow::slot_restore_settings() noexcept {
}
}
- if (size_.width() < 640) size_.setWidth(640);
- if (size_.height() < 480) size_.setHeight(480);
+ if (size_.width() < 800) size_.setWidth(800);
+ if (size_.height() < 600) size_.setHeight(600);
this->move(pos_);
this->resize(size_);