2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 06:35:14 +00:00

Use black icon for support mode (support).

This commit is contained in:
John Preston
2018-10-07 14:45:46 +03:00
parent 6ba0755e15
commit a27e9ad734
5 changed files with 91 additions and 11 deletions

View File

@@ -19,8 +19,7 @@ PreLaunchWindow *PreLaunchWindowInstance = nullptr;
PreLaunchWindow::PreLaunchWindow(QString title) {
Fonts::Start();
auto icon = Window::CreateIcon();
setWindowIcon(icon);
setWindowIcon(Window::CreateIcon());
setWindowFlags(Qt::Dialog | Qt::CustomizeWindowHint | Qt::WindowTitleHint | Qt::WindowCloseButtonHint);
setWindowTitle(title.isEmpty() ? qsl("Telegram") : title);