diff options
author | Andrea Diamantini <adjam7@gmail.com> | 2013-04-28 17:04:33 +0200 |
---|---|---|
committer | Andrea Diamantini <adjam7@gmail.com> | 2013-04-28 17:04:33 +0200 |
commit | 53cd1dfd2d5ee7c464dc7f681616325e63814327 (patch) | |
tree | 3a9717f57d71bacd2774ec4a311691764185e3dd /src/tabwindow/tabwidget.cpp | |
parent | Avoid a possible crash if rekonqWindow is not properly detected (diff) | |
download | rekonq-53cd1dfd2d5ee7c464dc7f681616325e63814327.tar.xz |
Properly register rekonq window to activities
Diffstat (limited to 'src/tabwindow/tabwidget.cpp')
-rw-r--r-- | src/tabwindow/tabwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabwindow/tabwidget.cpp b/src/tabwindow/tabwidget.cpp index 12341759..1b5bca30 100644 --- a/src/tabwindow/tabwidget.cpp +++ b/src/tabwindow/tabwidget.cpp @@ -720,7 +720,7 @@ void TabWidget::detachTab(int index, RekonqWindow *toWindow) RekonqWindow *w = 0; w = (toWindow == 0) - ? new RekonqWindow(false) + ? rApp->newWindow(false) : toWindow; TabWidget *hostTabWidget = w->tabWidget(); |