From bb163a7b3dc7857f698150460b33ba8f3f2204f9 Mon Sep 17 00:00:00 2001 From: ambar chakravartty Date: Sun, 2 Feb 2025 04:49:11 +0000 Subject: Made style and context enhancements Co-authored by: Felix Ernst --- src/dolphintabwidget.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'src/dolphintabwidget.h') diff --git a/src/dolphintabwidget.h b/src/dolphintabwidget.h index 3d9ba3a51..ca101e2db 100644 --- a/src/dolphintabwidget.h +++ b/src/dolphintabwidget.h @@ -229,7 +229,12 @@ private Q_SLOTS: void currentTabChanged(int index); - void renameTab(int index, const QString &name); + /** + * Calls DolphinTabPage::setCustomLabel(label) for the tab at @p index + * and propagates that change to the DolphinTabBar. + * @see DolphinTabPage::setCustomLabel(). + */ + void renameTab(int index, const QString &label); protected: void tabInserted(int index) override; -- cgit v1.3