Fix build.

This commit is contained in:
Roman Telezhynskyi 2022-08-16 16:19:29 +03:00
parent f60858f2e9
commit 793292fbf8
2 changed files with 7 additions and 1 deletions

View file

@ -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())
{

View file

@ -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)