mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-12 12:54:29 +00:00
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
This commit is contained in:
parent
5a9567730d
commit
aaaaea8e28
|
@ -1001,7 +1001,7 @@ void DolphinMainWindow::tabCountChanged(int count)
|
|||
|
||||
void DolphinMainWindow::updateWindowTitle()
|
||||
{
|
||||
setWindowTitle(m_activeViewContainer->getCaption());
|
||||
setWindowTitle(m_activeViewContainer->caption());
|
||||
}
|
||||
|
||||
void DolphinMainWindow::slotStorageTearDownFromPlacesRequested(const QString& mountPath)
|
||||
|
|
|
@ -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("&&"));
|
||||
|
|
|
@ -410,7 +410,7 @@ void DolphinViewContainer::reload()
|
|||
m_messageWidget->hide();
|
||||
}
|
||||
|
||||
QString DolphinViewContainer::getCaption() const
|
||||
QString DolphinViewContainer::caption() const
|
||||
{
|
||||
if (GeneralSettings::showFullPathInTitlebar()) {
|
||||
if (!url().isLocalFile()) {
|
||||
|
|
|
@ -141,7 +141,7 @@ public:
|
|||
* calculated depending on settings, if a search is active and other
|
||||
* factors.
|
||||
*/
|
||||
QString getCaption() const;
|
||||
QString caption() const;
|
||||
|
||||
public slots:
|
||||
/**
|
||||
|
|
Loading…
Reference in a new issue