aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/debug_functions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/debug_functions.cpp b/src/debug_functions.cpp
index 79be51b..3cc2e05 100644
--- a/src/debug_functions.cpp
+++ b/src/debug_functions.cpp
@@ -36,7 +36,7 @@ void call_notice(QString p_message)
QTimer intervalTimer;
intervalTimer.setInterval(1000);
- int counter = 3;
+ int counter = 1;
const auto updateCounter = [msgBox, &counter] {
if (counter <= 0)
{
@@ -50,7 +50,7 @@ void call_notice(QString p_message)
intervalTimer.start();
updateCounter();
- QTimer::singleShot(3000, msgBox, [msgBox, &intervalTimer] {
+ QTimer::singleShot(1000, msgBox, [msgBox, &intervalTimer] {
msgBox->defaultButton()->setEnabled(true);
msgBox->defaultButton()->setText(QDialogButtonBox::tr("OK"));
intervalTimer.stop();