mirror of
https://gitlab.com/smart-pattern/valentina.git
synced 2024-09-08 01:54:37 +02:00
Fix build.
This commit is contained in:
parent
f60858f2e9
commit
793292fbf8
|
@ -3437,7 +3437,7 @@ void TMainWindow::UpdateWindowTitle()
|
||||||
static QIcon fileIcon = QIcon(QCoreApplication::applicationDirPath() +
|
static QIcon fileIcon = QIcon(QCoreApplication::applicationDirPath() +
|
||||||
QLatin1String("/../Resources/measurements.icns"));
|
QLatin1String("/../Resources/measurements.icns"));
|
||||||
QIcon icon;
|
QIcon icon;
|
||||||
if (not curFile.isEmpty())
|
if (not m_curFile.isEmpty())
|
||||||
{
|
{
|
||||||
if (not isWindowModified())
|
if (not isWindowModified())
|
||||||
{
|
{
|
||||||
|
|
|
@ -53,6 +53,12 @@
|
||||||
#include <QIcon>
|
#include <QIcon>
|
||||||
#include <Qt>
|
#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_PUSH
|
||||||
QT_WARNING_DISABLE_CLANG("-Wmissing-prototypes")
|
QT_WARNING_DISABLE_CLANG("-Wmissing-prototypes")
|
||||||
QT_WARNING_DISABLE_INTEL(1418)
|
QT_WARNING_DISABLE_INTEL(1418)
|
||||||
|
|
Loading…
Reference in a new issue