From 6181e316ce8cfc1bef05c466a2470427ceb2deac Mon Sep 17 00:00:00 2001 From: Pierre Rossi Date: Wed, 15 Sep 2010 21:21:33 +0200 Subject: Prompt user before restoring session after a crash. Shows the about:closedTabs page in the background. Task: https://bugs.kde.org/show_bug.cgi?id=249228 --- src/previewselectorbar.cpp | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'src/previewselectorbar.cpp') diff --git a/src/previewselectorbar.cpp b/src/previewselectorbar.cpp index 1b3d3380..a53d2831 100644 --- a/src/previewselectorbar.cpp +++ b/src/previewselectorbar.cpp @@ -146,14 +146,4 @@ void PreviewSelectorBar::clicked() } destroy(); -} - - -void PreviewSelectorBar::destroy() -{ - if (parentWidget() && parentWidget()->layout()) - { - parentWidget()->layout()->removeWidget(this); - } - this->deleteLater(); -} +} \ No newline at end of file -- cgit v1.2.1