Fix build.
This commit is contained in:
parent
f60858f2e9
commit
793292fbf8
|
@ -3437,7 +3437,7 @@ void TMainWindow::UpdateWindowTitle()
|
|||
static QIcon fileIcon = QIcon(QCoreApplication::applicationDirPath() +
|
||||
QLatin1String("/../Resources/measurements.icns"));
|
||||
QIcon icon;
|
||||
if (not curFile.isEmpty())
|
||||
if (not m_curFile.isEmpty())
|
||||
{
|
||||
if (not isWindowModified())
|
||||
{
|
||||
|
|
|
@ -53,6 +53,12 @@
|
|||
#include <QIcon>
|
||||
#include <Qt>
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(5, 12, 0)
|
||||
#include "../vmisc/backport/qscopeguard.h"
|
||||
#else
|
||||
#include <QScopeGuard>
|
||||
#endif
|
||||
|
||||
QT_WARNING_PUSH
|
||||
QT_WARNING_DISABLE_CLANG("-Wmissing-prototypes")
|
||||
QT_WARNING_DISABLE_INTEL(1418)
|
||||
|
|
Loading…
Reference in New Issue
Block a user