summaryrefslogtreecommitdiff
path: root/src/urlbar
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2011-02-28 19:28:32 +0100
committerAndrea Diamantini <adjam7@gmail.com>2011-02-28 19:28:32 +0100
commitc45c938b62e7f667acbe956ec13a7fc18e340d4d (patch)
tree820c6bc25fb04d03ec961548bda44105a7c6d576 /src/urlbar
parentDo NOT parse suggestions referred to empty strings (diff)
downloadrekonq-c45c938b62e7f667acbe956ec13a7fc18e340d4d.tar.xz
Clean up all d-tors to fix an eventual crash on exit
Diffstat (limited to 'src/urlbar')
-rw-r--r--src/urlbar/rsswidget.cpp5
-rw-r--r--src/urlbar/rsswidget.h1
-rw-r--r--src/urlbar/stackedurlbar.cpp5
-rw-r--r--src/urlbar/stackedurlbar.h1
-rw-r--r--src/urlbar/urlbar.cpp1
5 files changed, 0 insertions, 13 deletions
diff --git a/src/urlbar/rsswidget.cpp b/src/urlbar/rsswidget.cpp
index aba03a4c..006b2999 100644
--- a/src/urlbar/rsswidget.cpp
+++ b/src/urlbar/rsswidget.cpp
@@ -107,11 +107,6 @@ RSSWidget::RSSWidget(const QMap< KUrl, QString > &map, QWidget *parent)
}
-RSSWidget::~RSSWidget()
-{
-}
-
-
void RSSWidget::showAt(const QPoint &pos)
{
adjustSize();
diff --git a/src/urlbar/rsswidget.h b/src/urlbar/rsswidget.h
index 2f9f819e..904f8ad2 100644
--- a/src/urlbar/rsswidget.h
+++ b/src/urlbar/rsswidget.h
@@ -42,7 +42,6 @@ class RSSWidget : public QMenu
public:
// QMap< feedUrl, feedTitle>
RSSWidget(const QMap<KUrl, QString> &map, QWidget *parent = 0);
- ~RSSWidget();
void showAt(const QPoint &pos);
diff --git a/src/urlbar/stackedurlbar.cpp b/src/urlbar/stackedurlbar.cpp
index 2e652180..c24bd6c7 100644
--- a/src/urlbar/stackedurlbar.cpp
+++ b/src/urlbar/stackedurlbar.cpp
@@ -42,11 +42,6 @@ StackedUrlBar::StackedUrlBar(QWidget *parent)
}
-StackedUrlBar::~StackedUrlBar()
-{
-}
-
-
UrlBar *StackedUrlBar::currentUrlBar()
{
return urlBar(currentIndex());
diff --git a/src/urlbar/stackedurlbar.h b/src/urlbar/stackedurlbar.h
index 5009d49a..b0583df1 100644
--- a/src/urlbar/stackedurlbar.h
+++ b/src/urlbar/stackedurlbar.h
@@ -44,7 +44,6 @@ class REKONQ_TESTS_EXPORT StackedUrlBar : public QStackedWidget
public:
StackedUrlBar(QWidget *parent = 0);
- ~StackedUrlBar();
UrlBar *currentUrlBar();
UrlBar *urlBar(int index);
diff --git a/src/urlbar/urlbar.cpp b/src/urlbar/urlbar.cpp
index f82468b8..8f3e11ec 100644
--- a/src/urlbar/urlbar.cpp
+++ b/src/urlbar/urlbar.cpp
@@ -122,7 +122,6 @@ UrlBar::UrlBar(QWidget *parent)
UrlBar::~UrlBar()
{
activateSuggestions(false);
- delete _icon;
_box.clear();
}