Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit a0cfaaea authored by Laurent Montel's avatar Laurent Montel 😁

Clean up

parent 6ec95758
......@@ -34,7 +34,6 @@ using namespace MailCommon;
CollectionTemplatesPage::CollectionTemplatesPage(QWidget *parent)
: CollectionPropertiesPage(parent)
, mChanged(false)
{
setObjectName(QStringLiteral("KMail::CollectionTemplatesPage"));
setPageTitle(i18n("Templates"));
......
......@@ -27,9 +27,6 @@
KMailPluginEditorManagerInterface::KMailPluginEditorManagerInterface(QObject *parent)
: QObject(parent)
, mRichTextEditor(nullptr)
, mParentWidget(nullptr)
, mActionCollection(nullptr)
{
}
......
......@@ -40,7 +40,6 @@
FolderArchiveManager::FolderArchiveManager(QObject *parent)
: QObject(parent)
, mCurrentJob(nullptr)
{
mFolderArchiveCache = new FolderArchiveCache(this);
load();
......
......@@ -49,9 +49,6 @@ QString IdentityPage::helpAnchor() const
IdentityPage::IdentityPage(QWidget *parent)
: ConfigModule(parent)
, mIdentityDialog(nullptr)
, mOldNumberOfIdentities(0)
, mIdentityManager(nullptr)
{
if (!MailCommon::Kernel::self()->kernelIsRegistered()) {
return;
......
......@@ -69,7 +69,7 @@ private:
private: // data members
Ui_IdentityPage mIPage;
KMail::IdentityDialog *mIdentityDialog = nullptr;
int mOldNumberOfIdentities;
int mOldNumberOfIdentities = 0;
KIdentityManagement::IdentityManager *mIdentityManager = nullptr;
};
}
......
......@@ -75,13 +75,7 @@ using namespace KMail;
SearchWindow::SearchWindow(KMMainWidget *widget, const Akonadi::Collection &collection)
: QDialog(nullptr)
, mCloseRequested(false)
, mSortColumn(0)
, mSortOrder(Qt::AscendingOrder)
, mSearchJob(nullptr)
, mResultModel(nullptr)
, mKMMainWidget(widget)
, mAkonadiStandardAction(nullptr)
{
setWindowTitle(i18n("Find Messages"));
......
......@@ -159,8 +159,8 @@ private:
QVector<Akonadi::Collection> mCollectionId;
Akonadi::SearchQuery mQuery;
bool mCloseRequested = false;
int mSortColumn;
Qt::SortOrder mSortOrder;
int mSortColumn = 0;
Qt::SortOrder mSortOrder = Qt::AscendingOrder;
Akonadi::Collection mFolder;
KJob *mSearchJob = nullptr;
......
......@@ -51,12 +51,6 @@ TagActionManager::TagActionManager(QObject *parent, KActionCollection *actionCol
, mActionCollection(actionCollection)
, mMessageActions(messageActions)
, mGUIClient(guiClient)
, mSeparatorMoreAction(nullptr)
, mSeparatorNewTagAction(nullptr)
, mMoreAction(nullptr)
, mNewTagAction(nullptr)
, mNewTagId(-1)
, mTagFetchInProgress(false)
, mMonitor(new Akonadi::Monitor(this))
{
mMessageActions->messageStatusMenu()->menu()->addSeparator();
......
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