Commit 5fe8bfbc authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

Clean up code

parent f1a7a4de
Pipeline #31873 passed with stage
in 36 minutes and 11 seconds
......@@ -19,18 +19,12 @@ using namespace PimCommon;
class PimCommon::MigrateApplicationFilesPrivate
{
public:
MigrateApplicationFilesPrivate()
: mMigrateApplicationVersion(1)
, mCurrentConfigVersion(0)
{
}
QVector<MigrateFileInfo> mMigrateInfoList;
QString mConfigFileName;
QString mApplicationName;
Kdelibs4Migration mMigration;
int mMigrateApplicationVersion;
int mCurrentConfigVersion;
int mMigrateApplicationVersion = 1;
int mCurrentConfigVersion = 0;
};
MigrateApplicationFiles::MigrateApplicationFiles(QObject *parent)
......
......@@ -8,8 +8,6 @@
using namespace PimCommon;
MigrateFileInfo::MigrateFileInfo()
: mVersion(-1)
, mFolder(false)
{
}
......
......@@ -42,8 +42,8 @@ private:
QStringList mFilePattern;
QString mType;
QString mPath;
int mVersion;
bool mFolder;
int mVersion = -1;
bool mFolder = false;
};
}
......
......@@ -12,7 +12,8 @@
using namespace PimCommon;
EmailValidator::EmailValidator(QObject *parent) : QValidator(parent)
EmailValidator::EmailValidator(QObject *parent)
: QValidator(parent)
{
}
......
......@@ -280,7 +280,7 @@ public:
QString knewstuffConfigName;
bool dirty;
KSharedConfig::Ptr config;
TemplateListWidget *q;
TemplateListWidget * const q;
};
TemplateListWidget::TemplateListWidget(const QString &configName, QWidget *parent)
......
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