Skip to content
Snippets Groups Projects
Commit e4f762de authored by Orgad Shaneh's avatar Orgad Shaneh Committed by Orgad Shaneh
Browse files

Fix compilation with Qt4


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