Set correct window flags on CalamaresWindow.

This commit is contained in:
Teo Mrnjavac 2014-06-24 15:21:36 +02:00
parent 6324feb2f3
commit fa3dfa2244

View File

@ -26,6 +26,8 @@ CalamaresWindow::CalamaresWindow( QWidget* parent )
: QWidget( parent ) : QWidget( parent )
{ {
setupUi( this ); setupUi( this );
// Hide close button
setWindowFlags( Qt::Window | Qt::WindowTitleHint | Qt::CustomizeWindowHint );
//This should create a PageManager or ViewManager or whatever, which //This should create a PageManager or ViewManager or whatever, which
//should control the sidebar, next/back buttons and QSW. //should control the sidebar, next/back buttons and QSW.