summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMontel Laurent <montel@kde.org>2016-09-16 14:35:22 (GMT)
committerMontel Laurent <montel@kde.org>2016-09-16 14:35:22 (GMT)
commit9f78f5a03b3652c571d2f4c714c118ae7f779402 (patch)
tree34e2d374512d7bd5f5cb7371b45f397a63357537
parent3ede8f9a3122a5727687ee9627e396bcedab4bba (diff)
Rename variable
-rw-r--r--src/kdebugsettingsdialog.cpp10
-rw-r--r--src/kdebugsettingsdialog.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/src/kdebugsettingsdialog.cpp b/src/kdebugsettingsdialog.cpp
index 137bf18..1d813d6 100644
--- a/src/kdebugsettingsdialog.cpp
+++ b/src/kdebugsettingsdialog.cpp
@@ -124,7 +124,7 @@ void KDebugSettingsDialog::readCategoriesFiles(const QString &path)
{
// KDE debug categories area
const QString confAreasFile = QStandardPaths::locate(QStandardPaths::ConfigLocation, QStringLiteral("kde.categories"));
- KDebugSettingsUtil::readLoggingCategories(confAreasFile, mCategories, false);
+ KDebugSettingsUtil::readLoggingCategories(confAreasFile, mCategoriesList, false);
// Load *.categories file in QStandardPaths::ConfigLocation for kde apps.
QStringList dirs = QStandardPaths::locateAll(QStandardPaths::ConfigLocation, QString(), QStandardPaths::LocateDirectory);
@@ -132,7 +132,7 @@ void KDebugSettingsDialog::readCategoriesFiles(const QString &path)
const QStringList fileNames = QDir(dir).entryList(QStringList() << QStringLiteral("*.categories"));
Q_FOREACH (const QString &file, fileNames) {
if (file != QStringLiteral("kde.categories")) {
- KDebugSettingsUtil::readLoggingCategories(dir + file, mCategories, true);
+ KDebugSettingsUtil::readLoggingCategories(dir + file, mCategoriesList, true);
}
}
}
@@ -142,7 +142,7 @@ void KDebugSettingsDialog::readCategoriesFiles(const QString &path)
Q_FOREACH (const QString &dir, dirs) {
const QStringList fileNames = QDir(dir).entryList(QStringList() << QStringLiteral("*.categories"));
Q_FOREACH (const QString &file, fileNames) {
- KDebugSettingsUtil::readLoggingCategories(dir + QLatin1Char('/') + file, mCategories, true);
+ KDebugSettingsUtil::readLoggingCategories(dir + QLatin1Char('/') + file, mCategoriesList, true);
}
}
const QByteArray rulesFilePath = qgetenv("QT_LOGGING_CONF");
@@ -158,7 +158,7 @@ void KDebugSettingsDialog::readCategoriesFiles(const QString &path)
// qt logging.ini
LoadCategoriesJob job;
job.setFileName(path);
- job.setCategories(mCategories);
+ job.setCategories(mCategoriesList);
job.start();
const LoggingCategory::List customCategories = job.customCategories();
@@ -221,7 +221,7 @@ void KDebugSettingsDialog::slotInsertCategories()
{
const QString path = QFileDialog::getOpenFileName(this, i18n("Insert Categories"));
if (!path.isEmpty()) {
- const KdeLoggingCategory::List insertCategoriesList = KDebugSettingsUtil::readLoggingCategoriesForInserting(path, mCategories);
+ const KdeLoggingCategory::List insertCategoriesList = KDebugSettingsUtil::readLoggingCategoriesForInserting(path, mCategoriesList);
LoggingCategory::List newCategories;
Q_FOREACH (const KdeLoggingCategory &cat, insertCategoriesList) {
LoggingCategory loggingCat;
diff --git a/src/kdebugsettingsdialog.h b/src/kdebugsettingsdialog.h
index 852f7ae..1cd3094 100644
--- a/src/kdebugsettingsdialog.h
+++ b/src/kdebugsettingsdialog.h
@@ -52,7 +52,7 @@ private:
void readCategoriesFiles(const QString &path);
void saveConfig();
void readConfig();
- KdeLoggingCategory::List mCategories;
+ KdeLoggingCategory::List mCategoriesList;
RenameCategory::List mRenameCategoriesList;
QTabWidget *mTabWidget;
KDEApplicationDebugSettingPage *mKdeApplicationSettingsPage;