]> cloud.milkyroute.net Git - dolphin.git/blobdiff - src/dolphintabwidget.cpp
changed all calls to "title(), setTitle()" to "customLabel(), setCustomLabel()"
[dolphin.git] / src / dolphintabwidget.cpp
index c2fae5170f926f3d0fcc8cffa71d031f7dbac629..be674994d90b3514a1e2378ae464a3b1ea94d6d9 100644 (file)
@@ -124,8 +124,8 @@ void DolphinTabWidget::updateTabName(int index)
 {
     Q_ASSERT(index >= 0);
 
-    if (!tabPageAt(index)->title().isEmpty()) {
-        QString name = tabPageAt(index)->title();
+    if (!tabPageAt(index)->customLabel().isEmpty()) {
+        QString name = tabPageAt(index)->customLabel();
         tabBar()->setTabText(index, name);
         return;
     }
@@ -483,7 +483,7 @@ void DolphinTabWidget::currentTabChanged(int index)
 void DolphinTabWidget::renameTab(int index, const QString &name)
 {
     if (!name.isEmpty()) {
-        tabPageAt(index)->setTitle(name);
+        tabPageAt(index)->setCustomLabel(name);
     }
 
     updateTabName(index);