[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdepim/akonadi/resources/kabc
From:       Kevin Krammer <kevin.krammer () gmx ! at>
Date:       2008-08-27 20:57:26
Message-ID: 1219870646.225867.6106.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 853552 by krake:

Do not attempt to connect signal when plugin does not have a config widget.
Minor spelling fix on introduction page


 M  +5 -3      kresourceassistant.cpp  


--- trunk/KDE/kdepim/akonadi/resources/kabc/kresourceassistant.cpp #853551:853552
@@ -48,7 +48,7 @@
                "<para>This assistant will guide you through the necessary "
                "steps to use a traditional KDE resource plugin to populate "
                "a folder of your Akonadi personal information setup with data "
-               "otherwise not yet accesible through native Akonadi "
+               "otherwise not yet accessible through native Akonadi "
                "resources.</para>"
                "<para>The setup process consists of three steps:</para>"
                "<para><list>"
@@ -189,8 +189,10 @@
         mStackWidget->addWidget( configWidget );
         mStackedWidgets.insert( type, configWidget );
 
-        connect( configWidget->mPluginWidget, SIGNAL( setReadOnly( bool ) ),
-                 parent, SLOT( setReadOnly( bool ) ) );
+        if ( configWidget->mPluginWidget != 0 ) {
+          connect( configWidget->mPluginWidget, SIGNAL( setReadOnly( bool ) ),
+                   parent, SLOT( setReadOnly( bool ) ) );
+        }
       }
     }
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic