2
0
mirror of https://github.com/telegramdesktop/tdesktop synced 2025-09-01 15:05:56 +00:00

Some global string constants "static const *" -> "constexpr str_const".

This commit is contained in:
John Preston
2016-05-04 13:41:41 +03:00
parent 58e185012c
commit 5f5109f1c4
9 changed files with 30 additions and 32 deletions

View File

@@ -1110,7 +1110,7 @@ bool MainWindow::minimizeToTray() {
hide();
if (cPlatform() == dbipWindows && trayIcon && !cSeenTrayTooltip()) {
trayIcon->showMessage(QString::fromStdWString(AppName), lang(lng_tray_icon_text), QSystemTrayIcon::Information, 10000);
trayIcon->showMessage(str_const_toString(AppName), lang(lng_tray_icon_text), QSystemTrayIcon::Information, 10000);
cSetSeenTrayTooltip(true);
Local::writeSettings();
}