diff --git a/Telegram/SourceFiles/platform/win/main_window_win.cpp b/Telegram/SourceFiles/platform/win/main_window_win.cpp index c3bc6d4e2..4e2e3d4f3 100644 --- a/Telegram/SourceFiles/platform/win/main_window_win.cpp +++ b/Telegram/SourceFiles/platform/win/main_window_win.cpp @@ -646,7 +646,7 @@ int32 MainWindow::screenNameChecksum(const QString &name) const { } void MainWindow::psRefreshTaskbarIcon() { - auto refresher = std::unique_ptr(this); + auto refresher = std::make_unique(this); refresher->setWindowFlags(static_cast(Qt::Tool) | Qt::FramelessWindowHint); refresher->setGeometry(x() + 1, y() + 1, 1, 1); auto palette = refresher->palette();