fix for window flags

This commit is contained in:
Volker Fischer 2011-05-07 14:55:08 +00:00
parent c46ad66a65
commit 9c78e71358
2 changed files with 9 additions and 32 deletions

View file

@ -34,24 +34,9 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP,
QDialog ( parent, f ),
pClient ( pNCliP ),
bUnreadChatMessage ( false ),
ClientSettingsDlg ( pNCliP, parent
#ifdef _WIN32
// this somehow only works reliable on Windows
, Qt::WindowMinMaxButtonsHint
#endif
),
ChatDlg ( parent
#ifdef _WIN32
// this somehow only works reliable on Windows
, Qt::WindowMinMaxButtonsHint
#endif
),
ConnectDlg ( parent
#ifdef _WIN32
// this somehow only works reliable on Windows
, Qt::WindowMinMaxButtonsHint
#endif
)
ClientSettingsDlg ( pNCliP, parent, Qt::Window ),
ChatDlg ( parent, Qt::Window ),
ConnectDlg ( parent, Qt::Dialog )
{
setupUi ( this );

View file

@ -317,12 +317,8 @@ int main ( int argc, char** argv )
&Client,
bConnectOnStartup,
bDisalbeLEDs,
0
#ifdef _WIN32
// this somehow only works reliable on Windows
, Qt::WindowMinMaxButtonsHint
#endif
);
0,
Qt::Window );
// set main window
pMainWindow = &ClientDlg;
@ -365,12 +361,8 @@ int main ( int argc, char** argv )
// GUI object for the server
CLlconServerDlg ServerDlg (
&Server,
0
#ifdef _WIN32
// this somehow only works reliable on Windows
, Qt::WindowMinMaxButtonsHint
#endif
);
0,
Qt::Window );
// set main window
pMainWindow = &ServerDlg;