Commit 4c227a17 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Clean up

parent 4a8c1770
...@@ -55,7 +55,11 @@ using namespace Akonadi; ...@@ -55,7 +55,11 @@ using namespace Akonadi;
using namespace MailCommon; using namespace MailCommon;
CollectionGeneralPage::CollectionGeneralPage( QWidget *parent ) CollectionGeneralPage::CollectionGeneralPage( QWidget *parent )
: CollectionPropertiesPage( parent ), mNameEdit( 0 ), mFolderCollection( 0 ) : CollectionPropertiesPage( parent ),
mContentsComboBox(0),
mIncidencesForComboBox(0),
mNameEdit( 0 ),
mFolderCollection( 0 )
{ {
setObjectName( QLatin1String( "MailCommon::CollectionGeneralPage" ) ); setObjectName( QLatin1String( "MailCommon::CollectionGeneralPage" ) );
setPageTitle( i18nc( "@title:tab General settings for a folder.", "General" ) ); setPageTitle( i18nc( "@title:tab General settings for a folder.", "General" ) );
...@@ -225,8 +229,6 @@ void CollectionGeneralPage::init( const Akonadi::Collection &collection ) ...@@ -225,8 +229,6 @@ void CollectionGeneralPage::init( const Akonadi::Collection &collection )
mContentsComboBox->setEnabled( false ); mContentsComboBox->setEnabled( false );
} }
} else {
mContentsComboBox = 0;
} }
// Kolab incidences-for annotation. // Kolab incidences-for annotation.
...@@ -238,8 +240,6 @@ void CollectionGeneralPage::init( const Akonadi::Collection &collection ) ...@@ -238,8 +240,6 @@ void CollectionGeneralPage::init( const Akonadi::Collection &collection )
gl->addWidget(mIncidencesForComboBox, row, 0, 1, 1); gl->addWidget(mIncidencesForComboBox, row, 0, 1, 1);
mIncidencesForComboBox->setCurrentIndex( incidencesFor ); mIncidencesForComboBox->setCurrentIndex( incidencesFor );
} else {
mIncidencesForComboBox = 0;
} }
if ( PimCommon::Util::isImapResource(collection.resource()) ) { if ( PimCommon::Util::isImapResource(collection.resource()) ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment