From 8b727979d0176d6f35ab43d65797f79a18dc58b8 Mon Sep 17 00:00:00 2001 From: John Preston Date: Thu, 15 Jan 2015 21:56:09 +0300 Subject: [PATCH] moving tray icon images to /tmp/ --- Telegram/SourceFiles/pspecific_linux.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/pspecific_linux.cpp b/Telegram/SourceFiles/pspecific_linux.cpp index 0c17b8551..297ae85f2 100644 --- a/Telegram/SourceFiles/pspecific_linux.cpp +++ b/Telegram/SourceFiles/pspecific_linux.cpp @@ -259,7 +259,7 @@ namespace { int32 counter = App::histories().unreadFull, counterSlice = (counter >= 1000) ? (1000 + (counter % 100)) : counter; bool muted = (App::histories().unreadMuted >= counter); - QString name = cWorkingDir() + qsl("tdata/ticons/ico%1_%2_%3.png").arg(muted ? "mute" : "").arg(_trayIconSize).arg(counterSlice); + QString name = qsl("/tmp/tdesktop-icons/ico%1_%2_%3.png").arg(muted ? "mute" : "").arg(_trayIconSize).arg(counterSlice); QFileInfo info(name); if (info.exists()) return name;