~ubuntu-branches/ubuntu/precise/libkipi/precise-updates

« back to all changes in this revision

Viewing changes to libkipi/pluginloader.cpp

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2011-12-14 14:37:08 UTC
  • mfrom: (1.1.10)
  • Revision ID: package-import@ubuntu.com-20111214143708-ogoej66f20ofvg54
Tags: 4:4.7.90-0ubuntu1
New upstream beta release

Show diffs side-by-side

added added

removed removed

Lines of Context:
12
12
 * @author Copyright (C) 2004-2005 by Renchi Raju
13
13
 *         <a href="mailto:renchi dot raju at gmail dot com">renchi dot raju at gmail dot com</a>
14
14
 * @author Copyright (C) 2009 by Andi Clemens
15
 
 *         <a href="mailto:andi dot clemens at gmx dot net">andi dot clemens at gmx dot net</a>
 
15
 *         <a href="mailto:andi dot clemens at googlemail dot com">andi dot clemens at googlemail dot com</a>
16
16
 * @author Copyright (C) 2009 by Aleix Pol Gonzalez
17
17
 *         <a href="mailto:aleixpol at kde dot org">aleixpol at kde dot org</a>
18
18
 *
432
432
{
433
433
    KSharedConfigPtr config = KGlobal::config();
434
434
    KConfigGroup group      = config->group( QString::fromLatin1( "KIPI/EnabledPlugin" ) );
435
 
    bool changes            = false;
 
435
//    bool changes            = false;
436
436
 
437
437
    for( QList<PluginCheckBox*>::Iterator it = d->boxes.begin(); it != d->boxes.end(); ++it )
438
438
    {
441
441
 
442
442
        if ( orig != load )
443
443
        {
444
 
            changes = true;
 
444
//            changes = true;
445
445
            group.writeEntry( (*it)->info->name(), load );
446
446
            (*it)->info->setShouldLoad(load);
447
447