Commit 38b4dd14 authored by Sebastian Eichelbaum's avatar Sebastian Eichelbaum
Browse files

[CHANGE] - changed initial size. This size is quite uninteresting as the GUI...

[CHANGE] - changed initial size. This size is quite uninteresting as the GUI restores the previous size automatically
parent 6049a404
...@@ -169,8 +169,9 @@ void WMainWindow::setupGUI() ...@@ -169,8 +169,9 @@ void WMainWindow::setupGUI()
{ {
setObjectName( QString::fromUtf8( "MainWindow" ) ); setObjectName( QString::fromUtf8( "MainWindow" ) );
} }
// TODO(all): what is this?
resize( 946, 632 ); // NOTE: this only is an initial size. The state reloaded from QSettings will set it to the value the user had last session.
resize( 800, 600 );
setWindowIcon( m_iconManager.getIcon( "logo" ) ); setWindowIcon( m_iconManager.getIcon( "logo" ) );
setWindowTitle( QApplication::translate( "MainWindow", "OpenWalnut (development version)", 0, QApplication::UnicodeUTF8 ) ); setWindowTitle( QApplication::translate( "MainWindow", "OpenWalnut (development version)", 0, QApplication::UnicodeUTF8 ) );
......
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