mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-02-05 14:47:39 +00:00
Fix crash in taskbar icon refresher.
Regression was introduced in 3b956c598
.
This commit is contained in:
parent
06c3082fdf
commit
e2bc6990c7
@ -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…
Reference in New Issue
Block a user