Fix AppImage build.
This commit is contained in:
parent
d896fa01fc
commit
586c4b319a
|
@ -397,7 +397,7 @@ void VAbstractApplication::ClearTranslation()
|
|||
delete qtTranslator;
|
||||
}
|
||||
|
||||
#if defined(Q_OS_WIN) && !defined(QBS_BUILD)
|
||||
#if (defined(Q_OS_WIN) && !defined(QBS_BUILD)) || defined(APPIMAGE)
|
||||
if (not qtxmlTranslator.isNull())
|
||||
{
|
||||
removeTranslator(qtxmlTranslator);
|
||||
|
|
|
@ -138,7 +138,7 @@ protected:
|
|||
VCommonSettings *settings{nullptr};
|
||||
|
||||
QPointer<QTranslator> qtTranslator{nullptr};
|
||||
#if defined(Q_OS_WIN) && !defined(QBS_BUILD)
|
||||
#if (defined(Q_OS_WIN) && !defined(QBS_BUILD)) || defined(APPIMAGE)
|
||||
QPointer<QTranslator> qtxmlTranslator{nullptr};
|
||||
QPointer<QTranslator> qtBaseTranslator{nullptr};
|
||||
#endif // defined(Q_OS_WIN) && !defined(QBS_BUILD)
|
||||
|
|
Loading…
Reference in New Issue
Block a user