┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphintabwidget.cpp
diff options
context:
space:
mode:
authorDavid Hallas <[email protected]>2018-08-28 09:50:41 +0200
committerDavid Hallas <[email protected]>2018-09-02 11:11:41 +0200
commitaaaaea8e28f8ec99605de0af7118c67d5a30c772 (patch)
treebcc2caf56a2348eb99253e42ed31bdb331c792f3 /src/dolphintabwidget.cpp
parent5a9567730d37126a66d5723fd22c215f184d1f7f (diff)
Renames DolphinViewContainer::getCaption to caption
Summary: This commit renames the DolphinViewContainer::getCaption to simply caption, this was a review comment that I failed to fix in a previous commit. Test Plan: None Reviewers: elvisangelaccio Reviewed By: elvisangelaccio Subscribers: kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D15114
Diffstat (limited to 'src/dolphintabwidget.cpp')
-rw-r--r--src/dolphintabwidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphintabwidget.cpp b/src/dolphintabwidget.cpp
index ab2f42c62..edb7247cc 100644
--- a/src/dolphintabwidget.cpp
+++ b/src/dolphintabwidget.cpp
@@ -359,7 +359,7 @@ QString DolphinTabWidget::tabName(DolphinTabPage* tabPage) const
if (!tabPage) {
return QString();
}
- QString name = tabPage->activeViewContainer()->getCaption();
+ QString name = tabPage->activeViewContainer()->caption();
// Make sure that a '&' inside the directory name is displayed correctly
// and not misinterpreted as a keyboard shortcut in QTabBar::setTabText()
return name.replace('&', QLatin1String("&&"));