forked from eden-emu/eden
[compat] fix solaris Qt build (#194)
Co-authored-by: crueter <crueter@eden-emu.dev> Reviewed-on: eden-emu/eden#194 Reviewed-by: crueter <crueter@eden-emu.dev> Co-authored-by: lizzie <lizzie@eden-emu.dev> Co-committed-by: lizzie <lizzie@eden-emu.dev>
This commit is contained in:
parent
c39e3bece6
commit
e807e32b1a
21 changed files with 105 additions and 76 deletions
|
@ -536,7 +536,7 @@ GMainWindow::GMainWindow(bool has_broken_vulkan)
|
|||
}
|
||||
return QString{};
|
||||
});
|
||||
QObject::connect(&update_watcher, &QFutureWatcher<QString>::finished, this,
|
||||
update_watcher.connect(&update_watcher, &QFutureWatcher<QString>::finished, this,
|
||||
&GMainWindow::OnEmulatorUpdateAvailable);
|
||||
update_watcher.setFuture(update_future);
|
||||
}
|
||||
|
@ -5786,7 +5786,7 @@ int main(int argc, char* argv[]) {
|
|||
// After settings have been loaded by GMainWindow, apply the filter
|
||||
main_window.show();
|
||||
|
||||
QObject::connect(&app, &QGuiApplication::applicationStateChanged, &main_window,
|
||||
app.connect(&app, &QGuiApplication::applicationStateChanged, &main_window,
|
||||
&GMainWindow::OnAppFocusStateChanged);
|
||||
|
||||
int result = app.exec();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue