icon changed for symbols emoji category, isReadable() used instead of exists() for saved file check

This commit is contained in:
John Preston 2015-11-27 20:58:56 +03:00
parent 600e97b053
commit 2c95fa5e15
3 changed files with 1 additions and 1 deletions
Telegram/SourceFiles

Binary file not shown.

Before

(image error) Size: 178 KiB

After

(image error) Size: 178 KiB

Binary file not shown.

Before

(image error) Size: 238 KiB

After

(image error) Size: 238 KiB

View File

@ -762,7 +762,7 @@ bool FileLocation::check() const {
}
QFileInfo f(name());
if (!f.exists() || !f.isReadable()) return false;
if (!f.isReadable()) return false;
quint64 s = f.size();
if (s > INT_MAX) return false;