┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/dolphintabwidget.h
diff options
context:
space:
mode:
authorDavid Hallas <[email protected]>2018-07-28 17:29:00 +0200
committerDavid Hallas <[email protected]>2018-08-24 12:09:26 +0200
commit44a21ea51a055c7429ddee866e35b0a5a21c072b (patch)
tree024226885442cdf341a660482efc29b4365dba3f /src/dolphintabwidget.h
parent79c485a66de7444e87708ae25c5f8a661a89dd21 (diff)
Unify window and tab title
Summary: Previously the title of tabs was a prettyfied version of the URL. This is inconsistent with the title of the Window and in some cases for specials URLs kind of misleading. This commit generalizes the code from DolphinMainWindow so that both the DolphinMainWindow title and the tab title uses the same function for the title. This also means that the 'Show Full Path in Title Bar' also applies to the tab title, and also that searches changes the tab title. FEATURE: 387851 Test Plan: Open a new tab from the places panel and navigate around. Reviewers: #dolphin, ngraham, elvisangelaccio, markg Reviewed By: #dolphin, ngraham, markg Subscribers: markg, kfm-devel Tags: #dolphin Differential Revision: https://phabricator.kde.org/D14442
Diffstat (limited to 'src/dolphintabwidget.h')
-rw-r--r--src/dolphintabwidget.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h
index b4493f7ed..d781953dd 100644
--- a/src/dolphintabwidget.h
+++ b/src/dolphintabwidget.h
@@ -193,7 +193,7 @@ private:
/**
* Returns the name of the tab for the URL \a url.
*/
- QString tabName(const QUrl& url) const;
+ QString tabName() const;
private:
/** Caches the (negated) places panel visibility */