diff options
| author | Andrea Diamantini <adjam7@gmail.com> | 2010-06-20 00:43:19 +0200 | 
|---|---|---|
| committer | Andrea Diamantini <adjam7@gmail.com> | 2010-06-20 00:43:19 +0200 | 
| commit | 3b4a4f01f05c1c6ffe37dbcc07b4b85950606674 (patch) | |
| tree | 100ea1d1df5602acc3ea97450a82291c84ab4803 | |
| parent | Merge branch 'master' of gitorious.org:rekonq/mainline (diff) | |
| download | rekonq-3b4a4f01f05c1c6ffe37dbcc07b4b85950606674.tar.xz | |
Append the detached tab in the right widget bar
BUG:242058
| -rw-r--r-- | src/mainview.cpp | 6 | 
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mainview.cpp b/src/mainview.cpp index a3f56958..33eb88af 100644 --- a/src/mainview.cpp +++ b/src/mainview.cpp @@ -518,7 +518,7 @@ void MainView::closeTab(int index, bool del)      if (del)      { -        tab->deleteLater();    // tab is scheduled for deletion. +        tab->deleteLater();          urlbar->deleteLater();      } @@ -716,7 +716,7 @@ void MainView::detachTab(int index)      WebTab *tab = webTab(index);      KUrl u = tab->url(); -    kDebug() << u; +    kDebug() << "detaching tab with url: " << u;      if (u.scheme() == QL1S("about"))      {          closeTab(index); @@ -730,7 +730,7 @@ void MainView::detachTab(int index)          MainWindow *w = Application::instance()->newMainWindow(false);          w->mainView()->addTab(tab, Application::icon(u), label); -        _widgetBar->insertWidget(0, bar); +        w->mainView()->widgetBar()->insertWidget(0, bar);          w->mainView()->updateTabBar();      }  }  | 
