diff --git a/src/chatdlg.cpp b/src/chatdlg.cpp index a6f35c26..5943ff31 100755 --- a/src/chatdlg.cpp +++ b/src/chatdlg.cpp @@ -26,7 +26,8 @@ /* Implementation *************************************************************/ -CChatDlg::CChatDlg ( QWidget* parent, Qt::WindowFlags f ) +CChatDlg::CChatDlg ( QWidget* parent, Qt::WindowFlags f ) : + QDialog ( parent, f ) { setupUi ( this ); diff --git a/src/llconclientdlg.cpp b/src/llconclientdlg.cpp index 7a910994..c44ed4bc 100755 --- a/src/llconclientdlg.cpp +++ b/src/llconclientdlg.cpp @@ -26,8 +26,9 @@ /* Implementation *************************************************************/ -CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP, QWidget* parent ) - : pClient ( pNCliP ), QDialog ( parent ), +CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP, QWidget* parent, + Qt::WindowFlags f ) + : pClient ( pNCliP ), QDialog ( parent, f ), ClientSettingsDlg ( pNCliP, parent, Qt::WindowMinMaxButtonsHint ), ChatDlg ( parent, Qt::WindowMinMaxButtonsHint ) { diff --git a/src/llconclientdlg.h b/src/llconclientdlg.h index 70a482c6..f007511e 100755 --- a/src/llconclientdlg.h +++ b/src/llconclientdlg.h @@ -69,7 +69,8 @@ class CLlconClientDlg : public QDialog, private Ui_CLlconClientDlgBase Q_OBJECT public: - CLlconClientDlg ( CClient* pNCliP, QWidget* parent = 0 ); + CLlconClientDlg ( CClient* pNCliP, QWidget* parent = 0, + Qt::WindowFlags f = 0 ); virtual ~CLlconClientDlg(); protected: diff --git a/src/main.cpp b/src/main.cpp index 8b1d5d3d..3ecc9b8e 100755 --- a/src/main.cpp +++ b/src/main.cpp @@ -153,7 +153,7 @@ int main ( int argc, char** argv ) Settings.Load ( strIniFileName.c_str() ); // GUI object - CLlconClientDlg ClientDlg ( &Client, 0 ); + CLlconClientDlg ClientDlg ( &Client, 0, Qt::WindowMinMaxButtonsHint ); // set main window pMainWindow = &ClientDlg;