mirror of
https://github.com/RyzenDew/Lime-3DS-Emulator.git
synced 2024-06-02 15:38:50 +02:00
possible segfault fix
This commit is contained in:
parent
f7b693e79e
commit
1468f8f992
|
@ -1070,8 +1070,6 @@ void GMainWindow::ShowUpdaterWidgets() {
|
|||
|
||||
connect(updater, &Updater::CheckUpdatesDone, this, &GMainWindow::OnUpdateFound);
|
||||
}
|
||||
#endif
|
||||
|
||||
void GMainWindow::ShowUpdatePopup() {
|
||||
QNetworkAccessManager manager;
|
||||
QObject::connect(&manager, &QNetworkAccessManager::finished, this, [&](QNetworkReply *reply) {
|
||||
|
@ -1096,6 +1094,7 @@ void GMainWindow::ShowUpdatePopup() {
|
|||
QNetworkRequest networkRequest(url);
|
||||
manager.get(networkRequest);
|
||||
}
|
||||
#endif
|
||||
|
||||
#if defined(HAVE_SDL2) && defined(__unix__) && !defined(__APPLE__)
|
||||
static std::optional<QDBusObjectPath> HoldWakeLockLinux(u32 window_id = 0) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user