Skip to content

Commit

Permalink
Make the exit button not visible
Browse files Browse the repository at this point in the history
  • Loading branch information
Umcaruje committed Jul 25, 2016
1 parent 7b31a28 commit 5851c06
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -765,8 +765,8 @@ int main( int argc, char * * argv )
#endif

// have a hidden exit button
exit = mb.addButton( "", QMessageBox::AcceptRole );
exit->setFlat(true);
exit = mb.addButton( "", QMessageBox::RejectRole);
exit->setVisible(false);

// set icons
recover->setIcon( embed::getIconPixmap( "recover" ) );
Expand Down

0 comments on commit 5851c06

Please sign in to comment.