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