Commit e4f762de authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh

Fix compilation with Qt4

Change-Id: I486198c9d7e27159445411c38037d315b90cd67a
Reviewed-by: default avatarNikolai Kosjar <nikolai.kosjar@digia.com>
parent 22f0bdff
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment