mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
Qt warnings cleanup
This commit is contained in:
parent
f051f53e15
commit
8150095e8f
8 changed files with 26 additions and 18 deletions
|
|
@ -35,6 +35,8 @@
|
|||
|
||||
#include <thread>
|
||||
|
||||
#include <QScreen>
|
||||
|
||||
#include "stdafx.h"
|
||||
#include "Emu/System.h"
|
||||
#include "Emu/Memory/vm.h"
|
||||
|
|
@ -1593,7 +1595,7 @@ void main_window::ConfigureGuiFromSettings(bool configure_all)
|
|||
{
|
||||
// By default, set the window to 70% of the screen and the debugger frame is hidden.
|
||||
m_debuggerFrame->hide();
|
||||
resize(QDesktopWidget().availableGeometry().size() * 0.7);
|
||||
resize(QGuiApplication::primaryScreen()->availableSize() * 0.7);
|
||||
}
|
||||
|
||||
restoreState(guiSettings->GetValue(gui::mw_windowState).toByteArray());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue