fix for window flags
This commit is contained in:
parent
c46ad66a65
commit
9c78e71358
2 changed files with 9 additions and 32 deletions
|
@ -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 );
|
||||
|
||||
|
|
16
src/main.cpp
16
src/main.cpp
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue