summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrea Diamantini <adjam7@gmail.com>2009-06-03 00:09:57 +0200
committerAndrea Diamantini <adjam7@gmail.com>2009-06-03 00:09:57 +0200
commit0a8ad22850a60c6e42b359952a7aa208b3689f13 (patch)
tree3e6f4cd0a605b3d889fab4f56ad35b0206517bdb /src
parentconst char[] (diff)
downloadrekonq-0a8ad22850a60c6e42b359952a7aa208b3689f13.tar.xz
Fixing CMakelists and close buttons
Diffstat (limited to 'src')
-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);