From 5851c066e2be89c5e2b089d649cb8ae1989d1558 Mon Sep 17 00:00:00 2001 From: Umcaruje Date: Tue, 26 Jul 2016 00:43:25 +0200 Subject: [PATCH] Make the exit button not visible --- src/core/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/main.cpp b/src/core/main.cpp index 691495170cc..5d3479decea 100644 --- a/src/core/main.cpp +++ b/src/core/main.cpp @@ -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" ) );