Commit 066b53df authored by Christoffer Ackelman's avatar Christoffer Ackelman Committed by Esteban Blanc

QT: Fixed CoWow error messages disappearing after 1 second.

parent 985d199a
...@@ -174,7 +174,9 @@ void CoWowQt::DisplayError( ...@@ -174,7 +174,9 @@ void CoWowQt::DisplayError(
msgBox.setDefaultButton(button); msgBox.setDefaultButton(button);
} }
if (m_autoremove) {
QTimer::singleShot(1000, &msgBox, SLOT(close())); QTimer::singleShot(1000, &msgBox, SLOT(close()));
}
msgBox.exec(); msgBox.exec();
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment