allow to set the default size of musredit via the musredit_startup.xml.

This commit is contained in:
2021-10-02 09:26:13 +02:00
parent df03277c4c
commit 4f2041c141
12 changed files with 72 additions and 5 deletions

View File

@@ -68,7 +68,7 @@ int main( int argc, char ** argv )
PTextEdit *mw = new PTextEdit();
mw->setWindowTitle( "MusrFit Editor" );
mw->resize( 800, 800 );
mw->resize( mw->getEditW(), mw->getEditH() );
mw->show();
a.connect( &a, SIGNAL( lastWindowClosed() ), &a, SLOT( quit() ) );