forked from qt-creator/qt-creator
Fix compilation with Qt4
Change-Id: I486198c9d7e27159445411c38037d315b90cd67a Reviewed-by: Nikolai Kosjar <nikolai.kosjar@digia.com>
This commit is contained in:
committed by
Orgad Shaneh
parent
22f0bdff74
commit
e4f762deec
@@ -249,7 +249,7 @@ QSharedPointer<SnapshotUpdater> CppEditorSupport::snapshotUpdater()
|
||||
{
|
||||
QSharedPointer<SnapshotUpdater> updater = m_snapshotUpdater;
|
||||
if (!updater) {
|
||||
updater.reset(new SnapshotUpdater(fileName()));
|
||||
updater = QSharedPointer<SnapshotUpdater>(new SnapshotUpdater(fileName()));
|
||||
m_snapshotUpdater = updater;
|
||||
}
|
||||
return updater;
|
||||
|
||||
Reference in New Issue
Block a user