diff options
| author | David Hallas <[email protected]> | 2018-08-28 09:00:13 +0200 |
|---|---|---|
| committer | David Hallas <[email protected]> | 2018-09-02 11:08:15 +0200 |
| commit | 5a9567730d37126a66d5723fd22c215f184d1f7f (patch) | |
| tree | 4521052227aed95fbbd960e082db630c58580756 /src/dolphintabwidget.h | |
| parent | a23acffd5e50e77b68da2c54287db369728b1ddb (diff) | |
Changes the tabName function to return the name of a specific tab
Summary:
Changes the tabName function to return the name of the passed in
DolphinTabPage. Previously it would return the name of the active tab,
which causes in-active tabs to get the wrong name.
Test Plan:
Open Dolphin
Right click a folder and select 'Open in new tab'
Notice that the new tab has the wrong title
BUG: 397910
Reviewers: #dolphin, ngraham, elvisangelaccio
Reviewed By: #dolphin, ngraham, elvisangelaccio
Subscribers: kfm-devel
Tags: #dolphin
Differential Revision: https://phabricator.kde.org/D15112
Diffstat (limited to 'src/dolphintabwidget.h')
| -rw-r--r-- | src/dolphintabwidget.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h index d781953dd..0cb662966 100644 --- a/src/dolphintabwidget.h +++ b/src/dolphintabwidget.h @@ -191,9 +191,10 @@ protected: private: /** - * Returns the name of the tab for the URL \a url. + * @param tabPage The tab page to get the name of + * @return The name of the tab page */ - QString tabName() const; + QString tabName(DolphinTabPage* tabPage) const; private: /** Caches the (negated) places panel visibility */ |
