Commit 7f67c1bc authored by Nate Graham's avatar Nate Graham
Browse files

Set a better default window size

Right now Ark's main window is very very tiny when first opened without
any content (e.g. if you just launch the app). This commit fixes that by
giving it a saner default window size.
parent 7fd1675b
......@@ -235,6 +235,12 @@ void MainWindow::closeEvent(QCloseEvent *event)
// Set a sane default window size
QSize MainWindow::sizeHint() const
return QSize(700, 500);
void MainWindow::quit()
......@@ -50,6 +50,7 @@ public Q_SLOTS:
void closeEvent(QCloseEvent *event) override;
QSize sizeHint() const override;
private Q_SLOTS:
void updateActions();
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment