diff options
| author | Peter Penz <[email protected]> | 2007-03-14 21:45:06 +0000 |
|---|---|---|
| committer | Peter Penz <[email protected]> | 2007-03-14 21:45:06 +0000 |
| commit | ed35e27bb70d67cf5ce42d823179e904c03e8728 (patch) | |
| tree | 6fdaa855b50357cdc2115cfbd7f39fba5aeaf5d0 /src/generalviewsettingspage.cpp | |
| parent | e8686083b9de4e83a448ddfd36ea57de7b9e2cd8 (diff) | |
cleanup of setting dialogs (no Q3 classes anymore)
svn path=/trunk/KDE/kdebase/apps/; revision=642623
Diffstat (limited to 'src/generalviewsettingspage.cpp')
| -rw-r--r-- | src/generalviewsettingspage.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/generalviewsettingspage.cpp b/src/generalviewsettingspage.cpp index 5c1137fd2..5a9b3a9a6 100644 --- a/src/generalviewsettingspage.cpp +++ b/src/generalviewsettingspage.cpp @@ -1,6 +1,5 @@ /*************************************************************************** - * Copyright (C) 2006 by Peter Penz * - * [email protected] * + * Copyright (C) 2006 by Peter Penz <[email protected]> * * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * @@ -24,8 +23,6 @@ #include "dolphin_generalsettings.h" #include "viewproperties.h" -#include <assert.h> - #include <QLabel> #include <QGroupBox> #include <QRadioButton> @@ -48,7 +45,7 @@ GeneralViewSettingsPage::GeneralViewSettingsPage(DolphinMainWindow* mainWindow, m_maxPreviewSize(0) { GeneralSettings* settings = DolphinSettings::instance().generalSettings(); - assert(settings != 0); + Q_ASSERT(settings != 0); const int spacing = KDialog::spacingHint(); const int margin = KDialog::marginHint(); @@ -133,7 +130,7 @@ void GeneralViewSettingsPage::applySettings() const bool useGlobalProps = m_globalProps->isChecked(); GeneralSettings* settings = DolphinSettings::instance().generalSettings(); - assert(settings != 0); + Q_ASSERT(settings != 0); settings->setGlobalViewProps(useGlobalProps); if (useGlobalProps) { |
