fix for window flags
This commit is contained in:
parent
c46ad66a65
commit
9c78e71358
2 changed files with 9 additions and 32 deletions
|
@ -31,27 +31,12 @@ CLlconClientDlg::CLlconClientDlg ( CClient* pNCliP,
|
||||||
const bool bNewDisalbeLEDs,
|
const bool bNewDisalbeLEDs,
|
||||||
QWidget* parent,
|
QWidget* parent,
|
||||||
Qt::WindowFlags f ) :
|
Qt::WindowFlags f ) :
|
||||||
QDialog ( parent, f ),
|
QDialog ( parent, f ),
|
||||||
pClient ( pNCliP ),
|
pClient ( pNCliP ),
|
||||||
bUnreadChatMessage ( false ),
|
bUnreadChatMessage ( false ),
|
||||||
ClientSettingsDlg ( pNCliP, parent
|
ClientSettingsDlg ( pNCliP, parent, Qt::Window ),
|
||||||
#ifdef _WIN32
|
ChatDlg ( parent, Qt::Window ),
|
||||||
// this somehow only works reliable on Windows
|
ConnectDlg ( parent, Qt::Dialog )
|
||||||
, 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
|
|
||||||
)
|
|
||||||
{
|
{
|
||||||
setupUi ( this );
|
setupUi ( this );
|
||||||
|
|
||||||
|
|
16
src/main.cpp
16
src/main.cpp
|
@ -317,12 +317,8 @@ int main ( int argc, char** argv )
|
||||||
&Client,
|
&Client,
|
||||||
bConnectOnStartup,
|
bConnectOnStartup,
|
||||||
bDisalbeLEDs,
|
bDisalbeLEDs,
|
||||||
0
|
0,
|
||||||
#ifdef _WIN32
|
Qt::Window );
|
||||||
// this somehow only works reliable on Windows
|
|
||||||
, Qt::WindowMinMaxButtonsHint
|
|
||||||
#endif
|
|
||||||
);
|
|
||||||
|
|
||||||
// set main window
|
// set main window
|
||||||
pMainWindow = &ClientDlg;
|
pMainWindow = &ClientDlg;
|
||||||
|
@ -365,12 +361,8 @@ int main ( int argc, char** argv )
|
||||||
// GUI object for the server
|
// GUI object for the server
|
||||||
CLlconServerDlg ServerDlg (
|
CLlconServerDlg ServerDlg (
|
||||||
&Server,
|
&Server,
|
||||||
0
|
0,
|
||||||
#ifdef _WIN32
|
Qt::Window );
|
||||||
// this somehow only works reliable on Windows
|
|
||||||
, Qt::WindowMinMaxButtonsHint
|
|
||||||
#endif
|
|
||||||
);
|
|
||||||
|
|
||||||
// set main window
|
// set main window
|
||||||
pMainWindow = &ServerDlg;
|
pMainWindow = &ServerDlg;
|
||||||
|
|
Loading…
Add table
Reference in a new issue