mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-05 00:55:12 +00:00
Fix build on Linux
This commit is contained in:
@@ -137,9 +137,7 @@ QIcon CreateIcon(Main::Session *session) {
|
||||
|
||||
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
||||
if (
|
||||
(!account
|
||||
|| !account->sessionExists()
|
||||
|| !account->session().supportMode())
|
||||
(!session || !session->supportMode())
|
||||
&& cCustomAppIcon() == 0
|
||||
&& !QFileInfo::exists(cWorkingDir() + "tdata/icon.png")) {
|
||||
return QIcon::fromTheme(Platform::GetIconName(), result);
|
||||
|
Reference in New Issue
Block a user