diff -urB digikam-2.5.0/core/utilities/setup/setupplugins.cpp new/core/utilities/setup/setupplugins.cpp --- digikam-2.5.0/core/utilities/setup/setupplugins.cpp 2012-01-03 01:32:01.000000000 +0100 +++ new/core/utilities/setup/setupplugins.cpp 2012-01-04 18:37:42.654350574 +0100 @@ -6,8 +6,8 @@ * Date : 2004-01-02 * Description : setup Kipi plugins tab. * - * Copyright (C) 2004-2011 by Gilles Caulier - * Copyright (C) 2011 by Andi Clemens + * Copyright (C) 2004-2012 by Gilles Caulier + * Copyright (C) 2011-2012 by Andi Clemens * * This program is free software; you can redistribute it * and/or modify it under the terms of the GNU General @@ -100,6 +100,11 @@ panel->setLayout(mainLayout); +#if KIPI_VERSION < 0x010400 + d->checkAllBtn->setVisible(false); + d->clearBtn->setVisible(false); +#endif + initPlugins(); // -------------------------------------------------------- @@ -158,14 +163,18 @@ void SetupPlugins::slotCheckAll() { QApplication::setOverrideCursor(Qt::WaitCursor); +#if KIPI_VERSION >= 0x010400 d->kipiConfig->slotCheckAll(); +#endif QApplication::restoreOverrideCursor(); } void SetupPlugins::slotClear() { QApplication::setOverrideCursor(Qt::WaitCursor); +#if KIPI_VERSION >= 0x010400 d->kipiConfig->slotClear(); +#endif QApplication::restoreOverrideCursor(); } } // namespace Digikam