mirror of
https://github.com/Ximi1970/systray-x.git
synced 2026-05-06 18:17:17 +02:00
Use more compatible flags
This commit is contained in:
@@ -144,7 +144,12 @@ PreferencesDialog::PreferencesDialog( SysTrayXLink *link, Preferences *pref, QWi
|
||||
/*
|
||||
* Dialog on top
|
||||
*/
|
||||
setWindowFlag( Qt::WindowStaysOnTopHint );
|
||||
Qt::WindowFlags flags = windowFlags();
|
||||
flags |= Qt::WindowStaysOnTopHint;
|
||||
#ifdef Q_OS_UNIX
|
||||
flags |= Qt::X11BypassWindowManagerHint;
|
||||
#endif
|
||||
setWindowFlags( flags );
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user