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
|
#endif // !TDESKTOP_DISABLE_AUTOUPDATE
|
||||||
if (!cMainFont().isEmpty()) {
|
if (!cMainFont().isEmpty()) {
|
||||||
argumentsList.push(qsl("-mainfont"));
|
argumentsList.push("-mainfont");
|
||||||
pushArgument(QFile::encodeName(cMainFont()));
|
argumentsList.push(QFile::encodeName(cMainFont()));
|
||||||
}
|
}
|
||||||
if (!cSemiboldFont().isEmpty()) {
|
if (!cSemiboldFont().isEmpty()) {
|
||||||
argumentsList.push(qsl("-semiboldfont"));
|
argumentsList.push("-semiboldfont");
|
||||||
pushArgument(QFile::encodeName(cSemiboldFont()));
|
argumentsList.push(QFile::encodeName(cSemiboldFont()));
|
||||||
}
|
}
|
||||||
if (cSemiboldFontIsBold()) {
|
if (cSemiboldFontIsBold()) {
|
||||||
argumentsList.push(qsl("-semiboldisbold"));
|
argumentsList.push("-semiboldisbold");
|
||||||
}
|
}
|
||||||
if (!cMonospaceFont().isEmpty()) {
|
if (!cMonospaceFont().isEmpty()) {
|
||||||
argumentsList.push(qsl("-monospacefont"));
|
argumentsList.push("-monospacefont");
|
||||||
pushArgument(QFile::encodeName(cMonospaceFont()));
|
argumentsList.push(QFile::encodeName(cMonospaceFont()));
|
||||||
}
|
}
|
||||||
if (cDataFile() != qsl("data")) {
|
if (cDataFile() != qsl("data")) {
|
||||||
argumentsList.push("-key");
|
argumentsList.push("-key");
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue