MCPcopy Create free account
hub / github.com/OpenOrienteering/mapper / showStatusBarMessageImmediately

Method showStatusBarMessageImmediately

src/gui/main_window.cpp:533–540  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

531}
532
533void MainWindow::showStatusBarMessageImmediately(const QString& text, int timeout)
534{
535 showStatusBarMessage(text, timeout);
536 // Make sure that paint events reach the user screen, by processing events
537 // until the queue is empty, including events appended during processing.
538 // In the worst case, this will stop after 100 ms.
539 QApplication::processEvents(QEventLoop::ExcludeUserInputEvents, 100 /* ms */);
540}
541
542void MainWindow::clearStatusBarMessage()
543{

Callers 1

loadFromMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected