forked from qt-creator/qt-creator
Remove useless member from Qt4Project
Change-Id: Ifbe9219a5eeac8264d2aef74d791fc2f9206a9cf Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Daniel Teske
parent
1bd4cb1018
commit
84c9402c5f
@@ -359,7 +359,6 @@ Qt4Project::Qt4Project(Qt4Manager *manager, const QString& fileName) :
|
|||||||
m_pendingEvaluateFuturesCount(0),
|
m_pendingEvaluateFuturesCount(0),
|
||||||
m_asyncUpdateState(NoState),
|
m_asyncUpdateState(NoState),
|
||||||
m_cancelEvaluate(false),
|
m_cancelEvaluate(false),
|
||||||
m_codeModelCanceled(false),
|
|
||||||
m_centralizedFolderWatcher(0),
|
m_centralizedFolderWatcher(0),
|
||||||
m_activeTarget(0)
|
m_activeTarget(0)
|
||||||
{
|
{
|
||||||
@@ -739,7 +738,6 @@ void Qt4Project::scheduleAsyncUpdate(Qt4ProFileNode *node)
|
|||||||
|
|
||||||
// Cancel running code model update
|
// Cancel running code model update
|
||||||
m_codeModelFuture.cancel();
|
m_codeModelFuture.cancel();
|
||||||
m_codeModelCanceled = true;
|
|
||||||
} else if (m_asyncUpdateState == AsyncUpdateInProgress) {
|
} else if (m_asyncUpdateState == AsyncUpdateInProgress) {
|
||||||
// A update is in progress
|
// A update is in progress
|
||||||
// And this slot only gets called if a file changed on disc
|
// And this slot only gets called if a file changed on disc
|
||||||
@@ -788,7 +786,6 @@ void Qt4Project::scheduleAsyncUpdate()
|
|||||||
|
|
||||||
// Cancel running code model update
|
// Cancel running code model update
|
||||||
m_codeModelFuture.cancel();
|
m_codeModelFuture.cancel();
|
||||||
m_codeModelCanceled = true;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@@ -206,7 +206,6 @@ private:
|
|||||||
enum AsyncUpdateState { NoState, Base, AsyncFullUpdatePending, AsyncPartialUpdatePending, AsyncUpdateInProgress, ShuttingDown };
|
enum AsyncUpdateState { NoState, Base, AsyncFullUpdatePending, AsyncPartialUpdatePending, AsyncUpdateInProgress, ShuttingDown };
|
||||||
AsyncUpdateState m_asyncUpdateState;
|
AsyncUpdateState m_asyncUpdateState;
|
||||||
bool m_cancelEvaluate;
|
bool m_cancelEvaluate;
|
||||||
bool m_codeModelCanceled;
|
|
||||||
QList<Qt4ProFileNode *> m_partialEvaluate;
|
QList<Qt4ProFileNode *> m_partialEvaluate;
|
||||||
|
|
||||||
QFuture<void> m_codeModelFuture;
|
QFuture<void> m_codeModelFuture;
|
||||||
|
Reference in New Issue
Block a user