Commit c95c6899 authored by Nate Graham's avatar Nate Graham
Browse files

Set initial size correctly

The recently-added resize() is working around a bug in frameworks that is
fixed now. See frameworks/kxmlgui!53
parent b1374e2c
......@@ -919,8 +919,6 @@ MainWindow::MainWindow()
// Set a sane initial window size
resize(1020, 700);
connect(DocumentFactory::instance(), &DocumentFactory::modifiedDocumentListChanged,
this, &MainWindow::slotModifiedDocumentListChanged);
......@@ -1692,9 +1690,10 @@ void MainWindow::preloadNextUrl()
// Set a sane initial window size
QSize MainWindow::sizeHint() const
return KXmlGuiWindow::sizeHint().expandedTo(QSize(750, 500));
return KXmlGuiWindow::sizeHint().expandedTo(QSize(1020, 700));
void MainWindow::showEvent(QShowEvent *event)
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