mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-01 13:48:56 +00:00
DolphinQt: Set window decorations for all top-level QWidgets.
This commit is contained in:
parent
0d0f821f96
commit
0a73df6b7b
43 changed files with 187 additions and 13 deletions
|
@ -26,6 +26,7 @@
|
|||
#include "Core/System.h"
|
||||
|
||||
#include "DolphinQt/QtUtils/DolphinFileDialog.h"
|
||||
#include "DolphinQt/QtUtils/SetWindowDecorations.h"
|
||||
#include "DolphinQt/Settings.h"
|
||||
|
||||
// Qt is not guaranteed to keep track of file paths using native file pickers, so we use this
|
||||
|
@ -149,6 +150,7 @@ void InfinityBaseWindow::LoadFigure(u8 slot)
|
|||
void InfinityBaseWindow::CreateFigure(u8 slot)
|
||||
{
|
||||
CreateFigureDialog create_dlg(this, slot);
|
||||
SetQWidgetWindowDecorations(&create_dlg);
|
||||
if (create_dlg.exec() == CreateFigureDialog::Accepted)
|
||||
{
|
||||
LoadFigurePath(slot, create_dlg.GetFilePath());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue