mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
Update mainwindow_grpc.cpp
This commit is contained in:
parent
7e972bb8f8
commit
fb6cdcb3b5
@ -519,7 +519,7 @@ void MainWindow::profile_start(int _id) {
|
||||
auto restartMsgbox = new QMessageBox(QMessageBox::Question, software_name, tr("If there is no response for a long time, it is recommended to restart the software."),
|
||||
QMessageBox::Yes | QMessageBox::No, this);
|
||||
connect(restartMsgbox, &QMessageBox::accepted, this, [=,this] { MW_dialog_message("", "RestartProgram"); });
|
||||
auto restartMsgboxTimer = new MessageBoxTimer(this, restartMsgbox, 5000);
|
||||
auto restartMsgboxTimer = new MessageBoxTimer(this, restartMsgbox, 10000);
|
||||
|
||||
runOnNewThread([=, this] {
|
||||
// stop current running
|
||||
|
||||
Loading…
Reference in New Issue
Block a user