Fix build for Linux
This commit is contained in:
parent
6d2fe62d18
commit
90e3c2c3ad
1 changed files with 7 additions and 7 deletions
|
|
@ -76,19 +76,19 @@ bool Launcher::launchUpdater(UpdaterLaunch action) {
|
|||
}
|
||||
#endif // !TDESKTOP_DISABLE_AUTOUPDATE
|
||||
if (!cMainFont().isEmpty()) {
|
||||
argumentsList.push(qsl("-mainfont"));
|
||||
pushArgument(QFile::encodeName(cMainFont()));
|
||||
argumentsList.push("-mainfont");
|
||||
argumentsList.push(QFile::encodeName(cMainFont()));
|
||||
}
|
||||
if (!cSemiboldFont().isEmpty()) {
|
||||
argumentsList.push(qsl("-semiboldfont"));
|
||||
pushArgument(QFile::encodeName(cSemiboldFont()));
|
||||
argumentsList.push("-semiboldfont");
|
||||
argumentsList.push(QFile::encodeName(cSemiboldFont()));
|
||||
}
|
||||
if (cSemiboldFontIsBold()) {
|
||||
argumentsList.push(qsl("-semiboldisbold"));
|
||||
argumentsList.push("-semiboldisbold");
|
||||
}
|
||||
if (!cMonospaceFont().isEmpty()) {
|
||||
argumentsList.push(qsl("-monospacefont"));
|
||||
pushArgument(QFile::encodeName(cMonospaceFont()));
|
||||
argumentsList.push("-monospacefont");
|
||||
argumentsList.push(QFile::encodeName(cMonospaceFont()));
|
||||
}
|
||||
if (cDataFile() != qsl("data")) {
|
||||
argumentsList.push("-key");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue