mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-25 18:32:02 +00:00
DolphinQt: Set window decorations for all top-level QWidgets.
This commit is contained in:
parent
e8d23af0f2
commit
e2fb8fab2f
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