header shuffling

This commit is contained in:
RipleyTom 2019-06-21 13:33:32 +02:00 committed by Megamouse
parent 8debdfcd09
commit 2040a11585
7 changed files with 29 additions and 23 deletions

View file

@ -142,7 +142,7 @@ int main(int argc, char** argv)
app->setApplicationVersion(qstr(rpcs3::version.to_string()));
app->setApplicationName("RPCS3");
if (auto gui_app = qobject_cast<gui_application*>(app.get()))
if (auto gui_app = qobject_cast<gui_application*>(app.data()))
{
#if defined(_WIN32) || defined(__APPLE__)
app->setAttribute(Qt::AA_EnableHighDpiScaling);
@ -155,7 +155,7 @@ int main(int argc, char** argv)
gui_app->Init();
}
else if (auto non_gui_app = qobject_cast<rpcs3_app*>(app.get()))
else if (auto non_gui_app = qobject_cast<rpcs3_app*>(app.data()))
{
non_gui_app->Init();
}