[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [rekonq/frameworks] src: Fix the double rekonq window title tag bug :)
From:       Andrea Diamantini <adjam7 () gmail ! com>
Date:       2014-10-03 17:32:49
Message-ID: E1Xa6in-0002md-1R () scm ! kde ! org
[Download RAW message or body]

Git commit c60e5b0ef3f039a3ee7c18528622ffc168edc382 by Andrea Diamantini.
Committed on 03/10/2014 at 17:33.
Pushed by adjam into branch 'frameworks'.

Fix the double rekonq window title tag bug :)

M  +1    -1    src/settings/settingsdialog.cpp
M  +3    -3    src/tabwindow/tabwidget.cpp

http://commits.kde.org/rekonq/c60e5b0ef3f039a3ee7c18528622ffc168edc382

diff --git a/src/settings/settingsdialog.cpp b/src/settings/settingsdialog.cpp
index 681b9e8..7a86281 100644
--- a/src/settings/settingsdialog.cpp
+++ b/src/settings/settingsdialog.cpp
@@ -140,7 +140,7 @@ SettingsDialog::SettingsDialog(QWidget *parent)
     : KConfigDialog(parent, QL1S("rekonfig"), ReKonfig::self())
     , d(new Private(this))
 {
-    setWindowTitle(i18nc("Window title of the settings dialog", "Configure – rekonq"));
+    setWindowTitle(i18nc("Window title of the settings dialog", "Configure"));
 
     // update buttons
     connect(d->generalWidg,     SIGNAL(changed(bool)), this, SLOT(updateButtons()));
diff --git a/src/tabwindow/tabwidget.cpp b/src/tabwindow/tabwidget.cpp
index 449f998..e07299c 100644
--- a/src/tabwindow/tabwidget.cpp
+++ b/src/tabwindow/tabwidget.cpp
@@ -410,9 +410,9 @@ void TabWidget::currentChanged(int newIndex)
 
     QString t = tab->title();
 
-    (t.isEmpty() || t == QL1S("rekonq"))
+    (t.isEmpty())
     ? emit windowTitleChanged(QL1S("rekonq"))
-    : emit windowTitleChanged(t + QL1S(" - rekonq"));
+    : emit windowTitleChanged(t);
 
     tab->checkFocus();
     
@@ -473,7 +473,7 @@ void TabWidget::tabTitleChanged(const QString &title)
     }
     else
     {
-        emit windowTitleChanged(tabTitle + QL1S(" - rekonq"));
+        emit windowTitleChanged(tabTitle);
     }
     
     if (ReKonfig::hoveringTabOption() == 1)
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic