forked from qt-creator/qt-creator
CMake: Ignore dirty signal on server-mode on Windows
CMake sends false signals on Windows. Until this is fixed, ignore them. Task-number: QTCREATORBUG-17944 Change-Id: If59f04fd68a899069ecc02df592d3105e531f5bb Reviewed-by: Tobias Hunger <tobias.hunger@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
7e8bac1512
commit
689aa3891d
@@ -397,7 +397,8 @@ void ServerModeReader::handleProgress(int min, int cur, int max, const QString &
|
|||||||
void ServerModeReader::handleSignal(const QString &signal, const QVariantMap &data)
|
void ServerModeReader::handleSignal(const QString &signal, const QVariantMap &data)
|
||||||
{
|
{
|
||||||
Q_UNUSED(data);
|
Q_UNUSED(data);
|
||||||
if (signal == "dirty")
|
// CMake on Windows sends false dirty signals on each edit (QTCREATORBUG-17944)
|
||||||
|
if (!HostOsInfo::isWindowsHost() && signal == "dirty")
|
||||||
emit dirty();
|
emit dirty();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user