Fixed Qt4 compile error.

This commit is contained in:
Leonardo 2018-01-02 16:22:16 -08:00
parent 6f83db7ba2
commit 0259be0099

View file

@ -84,7 +84,9 @@ Project::Project()
mActiveModel->SetSaved();
mModels.Add(mActiveModel);
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
QObject::connect(&mFileWatcher, &QFileSystemWatcher::fileChanged, [&](const QString& Path) { Q_UNUSED(Path); FileChanged(); });
#endif
}
Project::~Project()