diff options
author | Jon Ander Peñalba <jonan88@gmail.com> | 2010-09-10 12:04:47 +0200 |
---|---|---|
committer | Jon Ander Peñalba <jonan88@gmail.com> | 2010-09-10 12:04:47 +0200 |
commit | b2f8b1e4a123069bbf131aa4bd50fd67cd93727f (patch) | |
tree | 70753f2aecca06c27beddf78e38996cb9abdfeed /src | |
parent | The RSS widget and the bookmark widget are now more consistent (they have the... (diff) | |
download | rekonq-b2f8b1e4a123069bbf131aa4bd50fd67cd93727f.tar.xz |
Minor bug introduced in previous commit fixed
Diffstat (limited to 'src')
-rw-r--r-- | src/urlbar/bookmarkwidget.cpp | 2 | ||||
-rw-r--r-- | src/urlbar/rsswidget.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/urlbar/bookmarkwidget.cpp b/src/urlbar/bookmarkwidget.cpp index 59df85a1..4569bc27 100644 --- a/src/urlbar/bookmarkwidget.cpp +++ b/src/urlbar/bookmarkwidget.cpp @@ -95,7 +95,7 @@ BookmarkWidget::BookmarkWidget(const KBookmark &bookmark, QWidget *parent) // Ok & Cancel buttons QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel, Qt::Horizontal, this); connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept())); - connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); + connect(buttonBox, SIGNAL(rejected()), this, SLOT(close())); layout->addWidget(buttonBox); setLayout(layout); diff --git a/src/urlbar/rsswidget.cpp b/src/urlbar/rsswidget.cpp index 270468a1..b29ed0e8 100644 --- a/src/urlbar/rsswidget.cpp +++ b/src/urlbar/rsswidget.cpp @@ -99,7 +99,7 @@ RSSWidget::RSSWidget(const QMap< KUrl, QString > &map, QWidget *parent) buttonBox->addButton(addFeed, QDialogButtonBox::AcceptRole); connect(buttonBox, SIGNAL(accepted()), this, SLOT(accept())); - connect(buttonBox, SIGNAL(rejected()), this, SLOT(reject())); + connect(buttonBox, SIGNAL(rejected()), this, SLOT(close())); layout->addRow(buttonBox); |