From 20f3b48898d32eb6838adffed1ab5b24c1a3c8c4 Mon Sep 17 00:00:00 2001 From: nowrep Date: Sat, 3 Aug 2013 22:57:50 +0200 Subject: [PATCH] Removed link for removing cookies from Adobe Flash Player --- src/lib/other/clearprivatedata.cpp | 6 -- src/lib/other/clearprivatedata.h | 1 - src/lib/other/clearprivatedata.ui | 147 +++++++++++++---------------- 3 files changed, 65 insertions(+), 89 deletions(-) diff --git a/src/lib/other/clearprivatedata.cpp b/src/lib/other/clearprivatedata.cpp index be674d18b..50871791b 100644 --- a/src/lib/other/clearprivatedata.cpp +++ b/src/lib/other/clearprivatedata.cpp @@ -43,7 +43,6 @@ ClearPrivateData::ClearPrivateData(QupZilla* mainClass, QWidget* parent) { ui->setupUi(this); ui->buttonBox->setFocus(); - connect(ui->clearAdobeCookies, SIGNAL(clicked(QPoint)), this, SLOT(clearFlash())); connect(ui->history, SIGNAL(clicked(bool)), this, SLOT(historyClicked(bool))); connect(ui->buttonBox, SIGNAL(accepted()), this, SLOT(dialogAccepted())); @@ -90,11 +89,6 @@ void ClearPrivateData::clearIcons() qIconProvider->clearIconDatabase(); } -void ClearPrivateData::clearFlash() -{ - p_QupZilla->tabWidget()->addView(QUrl("http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager07.html")); -} - void ClearPrivateData::closeEvent(QCloseEvent* e) { Settings settings; diff --git a/src/lib/other/clearprivatedata.h b/src/lib/other/clearprivatedata.h index 1f94614d4..80d6a4290 100644 --- a/src/lib/other/clearprivatedata.h +++ b/src/lib/other/clearprivatedata.h @@ -42,7 +42,6 @@ public: private slots: void historyClicked(bool state); void dialogAccepted(); - void clearFlash(); private: void closeEvent(QCloseEvent* e); diff --git a/src/lib/other/clearprivatedata.ui b/src/lib/other/clearprivatedata.ui index d2ad07cd9..f9745d86e 100644 --- a/src/lib/other/clearprivatedata.ui +++ b/src/lib/other/clearprivatedata.ui @@ -6,8 +6,8 @@ 0 0 - 308 - 310 + 272 + 264 @@ -21,13 +21,10 @@ - - + + - Clear history - - - false + Clear icons @@ -41,36 +38,16 @@ - - + + - Clear icons + Clear web databases - - - - - - PointingHandCursor - - - Clear cookies from Adobe Flash Player - - + true - - - - Qt::Horizontal - - - QDialogButtonBox::Cancel|QDialogButtonBox::Ok - - - @@ -78,6 +55,16 @@ + + + + Clear history + + + false + + + @@ -94,6 +81,52 @@ + + + + Qt::Horizontal + + + QDialogButtonBox::Cancel|QDialogButtonBox::Ok + + + + + + + Clear local storage + + + true + + + + + + + Clear cookies + + + false + + + + + + + Qt::Horizontal + + + QSizePolicy::Fixed + + + + 40 + 20 + + + + @@ -121,58 +154,8 @@ - - - - Qt::Horizontal - - - - 40 - 20 - - - - - - - - Clear web databases - - - true - - - - - - - Clear local storage - - - true - - - - - - - Clear cookies - - - false - - - - - - ClickableLabel - QLabel -
clickablelabel.h
-
-