Fix build on Linux
This commit is contained in:
parent
6bc634408d
commit
adb0087194
1 changed files with 1 additions and 3 deletions
|
|
@ -137,9 +137,7 @@ QIcon CreateIcon(Main::Session *session) {
|
||||||
|
|
||||||
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
#if defined Q_OS_UNIX && !defined Q_OS_MAC
|
||||||
if (
|
if (
|
||||||
(!account
|
(!session || !session->supportMode())
|
||||||
|| !account->sessionExists()
|
|
||||||
|| !account->session().supportMode())
|
|
||||||
&& cCustomAppIcon() == 0
|
&& cCustomAppIcon() == 0
|
||||||
&& !QFileInfo::exists(cWorkingDir() + "tdata/icon.png")) {
|
&& !QFileInfo::exists(cWorkingDir() + "tdata/icon.png")) {
|
||||||
return QIcon::fromTheme(Platform::GetIconName(), result);
|
return QIcon::fromTheme(Platform::GetIconName(), result);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue