MCPcopy Create free account
hub / github.com/ckaiser/Lightscreen / showError

Method showError

widgets/hotkeywidget.cpp:55–65  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53}
54
55void HotkeyWidget::showError()
56{
57 if (mShowingError) {
58 return;
59 }
60
61 mShowingError = true;
62
63 setStyleSheet(mDefaultStyleSheet + "color: #d90000;");
64 QTimer::singleShot(1000, this, &HotkeyWidget::hideError);
65}
66
67void HotkeyWidget::setHotkeyText()
68{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected