summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRohan Garg <rohangarg@ubuntu.com>2010-08-17 21:45:08 +0530
committerRohan Garg <rohangarg@ubuntu.com>2010-08-17 21:45:08 +0530
commit55f80bb96788c05773af16a77b32be01b385f2d6 (patch)
treec61155e764f2b871d6fa75bac23a55db662337e5
parent Define GeneralWidget::disableKGet() to disable KGet (diff)
downloadrekonq-55f80bb96788c05773af16a77b32be01b385f2d6.tar.xz
Remove return, formatting++
modified: src/settings/generalwidget.cpp
-rw-r--r--src/settings/generalwidget.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/settings/generalwidget.cpp b/src/settings/generalwidget.cpp
index 62695001..4d853b85 100644
--- a/src/settings/generalwidget.cpp
+++ b/src/settings/generalwidget.cpp
@@ -39,7 +39,6 @@
//KDE Includes
#include <kstandarddirs.h>
-
GeneralWidget::GeneralWidget(QWidget *parent)
: QWidget(parent)
, _changed(false)
@@ -91,7 +90,6 @@ void GeneralWidget::disableHomeSettings(bool b)
void GeneralWidget::disableKGet()
{
-
if (KStandardDirs::findExe("kget").isNull())
{
kWarning() << "Install KGet to enable rekonq to use KGet as download manager";
@@ -100,6 +98,4 @@ void GeneralWidget::disableKGet()
kcfg_kgetDownload->setDisabled(true);
kcfg_kgetList->setDisabled(true);
}
-
- return;
}