Skip to content

Commit

Permalink
Change order in menu
Browse files Browse the repository at this point in the history
  • Loading branch information
Umcaruje committed Jul 10, 2016
1 parent a13b21c commit 7cf67ff
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/core/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -729,13 +729,13 @@ int main( int argc, char * * argv )
MainWindow::tr( "Recover" ),
MainWindow::tr( "Recover the file. Please don't run "
"multiple instances of LMMS when you do this." ),
MainWindow::tr( "Discard" ),
MainWindow::tr( "Launch a default session and delete "
"the restored files. This is not reversible." ),
MainWindow::tr( "Ignore" ),
MainWindow::tr( "Launch LMMS as usual but with "
"automatic backup disabled to prevent the "
"present recover file from being overwritten." ),
MainWindow::tr( "Discard" ),
MainWindow::tr( "Launch a default session and delete "
"the restored files. This is not reversible." ),
MainWindow::tr( "Exit" ),
MainWindow::tr( "Shut down LMMS with no further action." )
) );
Expand All @@ -744,8 +744,8 @@ int main( int argc, char * * argv )
mb.setWindowIcon( embed::getIconPixmap( "icon" ) );

QPushButton * recover;
QPushButton * ignore;
QPushButton * discard;
QPushButton * ignore;
QPushButton * exit;

recover = mb.addButton( MainWindow::tr( "Recover" ),
Expand All @@ -756,6 +756,7 @@ int main( int argc, char * * argv )
QMessageBox::DestructiveRole );
discard->setIcon( embed::getIconPixmap( "discard" ) );


ignore = mb.addButton( MainWindow::tr( "Ignore" ),
QMessageBox::NoRole );
ignore->setIcon( embed::getIconPixmap( "ignore" ) );
Expand Down

0 comments on commit 7cf67ff

Please sign in to comment.