Skip to content
This repository has been archived by the owner on Apr 14, 2024. It is now read-only.

Commit

Permalink
Hide the SVG label at creation
Browse files Browse the repository at this point in the history
When required the appropriate pixmap (error/warn) will be set and the
label will be shown.
  • Loading branch information
pstavirs committed Jun 13, 2020
1 parent 23d855f commit f2635ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions client/logswindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ LogsWindow::LogsWindow(LogsModel *model, QWidget *parent)
alert_ = new QLabel("ALERT!", this,
Qt::FramelessWindowHint|Qt::WindowStaysOnTopHint);
alert_->setScaledContents(true);
alert_->hide();
alertAnime_ = new QPropertyAnimation(alert_, "geometry", this);
alertAnime_->setDuration(2000);
alertAnime_->setEasingCurve(QEasingCurve::InOutExpo);
Expand Down

0 comments on commit f2635ac

Please sign in to comment.