mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-14 18:58:36 +12:00
Qt warnings cleanup
This commit is contained in:
parent
f051f53e15
commit
8150095e8f
8 changed files with 26 additions and 18 deletions
|
@ -30,6 +30,8 @@
|
|||
#include <QScrollBar>
|
||||
#include <QWheelEvent>
|
||||
#include <QProgressDialog>
|
||||
#include <QGuiApplication>
|
||||
#include <QScreen>
|
||||
|
||||
namespace
|
||||
{
|
||||
|
@ -431,7 +433,7 @@ void trophy_manager_dialog::RepaintUI(bool restore_layout)
|
|||
|
||||
if (restore_layout && !restoreGeometry(m_gui_settings->GetValue(gui::tr_geometry).toByteArray()))
|
||||
{
|
||||
resize(QDesktopWidget().availableGeometry().size() * 0.7);
|
||||
resize(QGuiApplication::primaryScreen()->availableSize() * 0.7);
|
||||
}
|
||||
|
||||
if (restore_layout && !m_splitter->restoreState(m_gui_settings->GetValue(gui::tr_splitterState).toByteArray()))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue