From da440e77c1140ee5d7453f13ac132f46ca8dda03 Mon Sep 17 00:00:00 2001 From: Nova Date: Thu, 3 Apr 2025 14:56:27 +0330 Subject: [PATCH] fix remember profile --- src/ui/mainwindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/mainwindow.cpp b/src/ui/mainwindow.cpp index 4805b48..16d7f09 100644 --- a/src/ui/mainwindow.cpp +++ b/src/ui/mainwindow.cpp @@ -668,7 +668,7 @@ void MainWindow::dialog_message_impl(const QString &sender, const QString &info) set_system_dns(true); } } - if (auto id = info.split(",")[1].toInt() >= 0) + if (auto id = info.split(",")[1].toInt(); id >= 0) { neko_start(id); }