summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/CMakeLists.txt3
-rw-r--r--src/cookiedialog.cpp2
-rw-r--r--src/cookieexceptiondialog.cpp2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
index 16494f41..2ddf1117 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
@@ -24,7 +24,8 @@ SET( rekonq_SRCS
lineedit.cpp
stackedurlbar.cpp
webpage.cpp
- cookiedialogs.cpp
+ cookiedialog.cpp
+ cookieexceptiondialog.cpp
)
KDE4_ADD_UI_FILES( rekonq_SRCS
diff --git a/src/cookiedialog.cpp b/src/cookiedialog.cpp
index 9f22b29b..36379e58 100644
--- a/src/cookiedialog.cpp
+++ b/src/cookiedialog.cpp
@@ -172,7 +172,7 @@ CookiesDialog::CookiesDialog(CookieJar *cookieJar, QWidget *parent)
{
setWindowFlags(Qt::Sheet);
setCaption("Cookies");
- setButtons( KDialog::Ok );
+ setButtons( KDialog::Close );
Ui::CookiesWidget *cookieWidget = new Ui::CookiesWidget;
QWidget *widget = new QWidget(this);
diff --git a/src/cookieexceptiondialog.cpp b/src/cookieexceptiondialog.cpp
index 77445d0b..0a88b378 100644
--- a/src/cookieexceptiondialog.cpp
+++ b/src/cookieexceptiondialog.cpp
@@ -187,7 +187,7 @@ CookiesExceptionsDialog::CookiesExceptionsDialog(CookieJar *cookieJar, QWidget *
{
setWindowFlags(Qt::Sheet);
setCaption("Cookies Exceptions");
- setButtons( KDialog::Ok );
+ setButtons( KDialog::Close );
QWidget *widget = new QWidget(this);
m_exceptionsWidget->setupUi(widget);