comparison src/mainwindow.cpp @ 64:94cac17fe5be

GUI: Increase initial size of the mainwindow
author Andre Heinecke <andre.heinecke@intevation.de>
date Fri, 26 Aug 2016 12:25:03 +0200
parents 82d38421fdf3
children
comparison
equal deleted inserted replaced
63:4d65e654abf7 64:94cac17fe5be
122 void MainWindow::readSettings() { 122 void MainWindow::readSettings() {
123 if (mSettings.contains("geometry")) { 123 if (mSettings.contains("geometry")) {
124 restoreGeometry(mSettings.value("geometry").toByteArray()); 124 restoreGeometry(mSettings.value("geometry").toByteArray());
125 restoreState(mSettings.value("windowState").toByteArray()); 125 restoreState(mSettings.value("windowState").toByteArray());
126 } else { 126 } else {
127 resize(480, 360); 127 resize(800, 300);
128 } 128 }
129 129
130 setInputFile(mSettings.value("lastInput", 130 setInputFile(mSettings.value("lastInput",
131 QStandardPaths::writableLocation(DEFAULT_DIR)).toString()); 131 QStandardPaths::writableLocation(DEFAULT_DIR)).toString());
132 mOutRequester->setFileName(mSettings.value("lastOutput", 132 mOutRequester->setFileName(mSettings.value("lastOutput",
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)