summaryrefslogtreecommitdiff
path: root/src/plugins/subversion
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@digia.com>2013-12-13 11:17:57 +0100
committerEike Ziller <eike.ziller@digia.com>2014-01-14 09:05:06 +0100
commit355f104d0e3e362d89926bb4bf0d046bc34b1558 (patch)
treea451da43b23c5b653de6c6955ce24467a5c87484 /src/plugins/subversion
parent7f03139442d5563f12dc78add397bf0336e7eabe (diff)
downloadqt-creator-355f104d0e3e362d89926bb4bf0d046bc34b1558.tar.gz
BaseTextEditor: Remove some unnecessary indirections through widget
Change-Id: I4f71448d6788a4e553b1495b72263a004e65d8c0 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
Diffstat (limited to 'src/plugins/subversion')
-rw-r--r--src/plugins/subversion/subversionplugin.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/subversion/subversionplugin.cpp b/src/plugins/subversion/subversionplugin.cpp
index e6faebde04..cd8de10eb4 100644
--- a/src/plugins/subversion/subversionplugin.cpp
+++ b/src/plugins/subversion/subversionplugin.cpp
@@ -1031,7 +1031,7 @@ Core::IEditor *SubversionPlugin::showOutputInEditor(const QString &title, const
return 0;
e->setForceReadOnly(true);
s.replace(QLatin1Char(' '), QLatin1Char('_'));
- e->setSuggestedFileName(s);
+ e->baseTextDocument()->setSuggestedFileName(s);
if (!source.isEmpty())
e->setSource(source);
if (codec)