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
void DolphinMainWindow::updateWindowTitle()
{
- setWindowTitle(m_activeViewContainer->getCaption());
+ setWindowTitle(m_activeViewContainer->caption());
}
void DolphinMainWindow::slotStorageTearDownFromPlacesRequested(const QString& mountPath)
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("&&"));
m_messageWidget->hide();
}
-QString DolphinViewContainer::getCaption() const
+QString DolphinViewContainer::caption() const
{
if (GeneralSettings::showFullPathInTitlebar()) {
if (!url().isLocalFile()) {
* calculated depending on settings, if a search is active and other
* factors.
*/
- QString getCaption() const;
+ QString caption() const;
public slots:
/**