wip
This commit is contained in:
@@ -50,11 +50,11 @@ void ReadyWindow::paintEvent(QPaintEvent *event) {
|
||||
|
||||
void ReadyWindow::showEvent(QShowEvent *event) {
|
||||
refresh();
|
||||
timer->start(120 * 1000);
|
||||
// timer->start(120 * 1000);
|
||||
}
|
||||
|
||||
void ReadyWindow::hideEvent(QHideEvent *event) {
|
||||
timer->stop();
|
||||
// timer->stop();
|
||||
}
|
||||
|
||||
void ReadyWindow::updateState(const UIState &s) {
|
||||
|
||||
@@ -26,5 +26,5 @@ private slots:
|
||||
void hideEvent(QHideEvent *event) override;
|
||||
void refresh();
|
||||
|
||||
QTimer* timer;
|
||||
// QTimer* timer;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user