moving tray icon images to /tmp/

This commit is contained in:
John Preston 2015-01-15 21:56:09 +03:00
parent b0f8314255
commit 8b727979d0
1 changed files with 1 additions and 1 deletions

View File

@ -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;