mirror of
https://github.com/vale981/tdesktop
synced 2025-03-05 09:41:41 -05:00
Fix crash in taskbar icon refresher.
Regression was introduced in 3b956c598
.
This commit is contained in:
parent
06c3082fdf
commit
e2bc6990c7
1 changed files with 1 additions and 1 deletions
|
@ -646,7 +646,7 @@ int32 MainWindow::screenNameChecksum(const QString &name) const {
|
|||
}
|
||||
|
||||
void MainWindow::psRefreshTaskbarIcon() {
|
||||
auto refresher = std::unique_ptr<QWidget>(this);
|
||||
auto refresher = std::make_unique<QWidget>(this);
|
||||
refresher->setWindowFlags(static_cast<Qt::WindowFlags>(Qt::Tool) | Qt::FramelessWindowHint);
|
||||
refresher->setGeometry(x() + 1, y() + 1, 1, 1);
|
||||
auto palette = refresher->palette();
|
||||
|
|
Loading…
Add table
Reference in a new issue