mirror of
https://github.com/leozide/leocad
synced 2025-02-11 20:48:31 +01:00
Fixed Qt4 compile error.
This commit is contained in:
parent
6f83db7ba2
commit
0259be0099
1 changed files with 2 additions and 0 deletions
|
@ -84,7 +84,9 @@ Project::Project()
|
||||||
mActiveModel->SetSaved();
|
mActiveModel->SetSaved();
|
||||||
mModels.Add(mActiveModel);
|
mModels.Add(mActiveModel);
|
||||||
|
|
||||||
|
#if (QT_VERSION >= QT_VERSION_CHECK(5, 0, 0))
|
||||||
QObject::connect(&mFileWatcher, &QFileSystemWatcher::fileChanged, [&](const QString& Path) { Q_UNUSED(Path); FileChanged(); });
|
QObject::connect(&mFileWatcher, &QFileSystemWatcher::fileChanged, [&](const QString& Path) { Q_UNUSED(Path); FileChanged(); });
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
Project::~Project()
|
Project::~Project()
|
||||||
|
|
Loading…
Add table
Reference in a new issue