mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
header shuffling
This commit is contained in:
parent
8debdfcd09
commit
2040a11585
7 changed files with 29 additions and 23 deletions
|
@ -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();
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue