Qt: Unparent NetPlay dialog from main window
This should make the NetPlay dialog appear as a separate window in the taskbar on most systems, which makes more sense than a parented dialog as the user will leave it open for an extended period.
This commit is contained in:
1 parent
fd83937987
commit
f620128dac
3 files changed
+5
-2
No files matched your search
@@ -42,6 +42,7 @@
|
||||
#include "DolphinQt2/NetPlay/PadMappingDialog.h"
|
||||
#include "DolphinQt2/QtUtils/QueueOnObject.h"
|
||||
#include "DolphinQt2/QtUtils/RunOnObject.h"
|
||||
#include "DolphinQt2/Resources.h"
|
||||
#include "DolphinQt2/Settings.h"
|
||||
|
||||
#include "VideoCommon/VideoConfig.h"
|
||||
@@ -52,6 +53,7 @@ NetPlayDialog::NetPlayDialog(QWidget* parent)
|
||||
setWindowFlags(windowFlags() & ~Qt::WindowContextHelpButtonHint);
|
||||
|
||||
setWindowTitle(tr("NetPlay"));
|
||||
setWindowIcon(Resources::GetAppIcon());
|
||||
|
||||
m_pad_mapping = new PadMappingDialog(this);
|
||||
m_md5_dialog = new MD5Dialog(this);
|
||||
|
||||
Reference in new issue
Block a user