Changes the tabName function to return the name of a specific tab

Authored by hallas on Aug 28 2018, 7:00 AM.

Description

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

Details