Changeset View
Changeset View
Standalone View
Standalone View
akonadi-20.04.1/src/widgets/selftestdialog.cpp
Context not available. | |||||
317 | } | 317 | } | ||
---|---|---|---|---|---|
318 | 318 | | |||
319 | QStandardItem *item = nullptr; | 319 | QStandardItem *item = nullptr; | ||
320 | const QString globalConfig = StandardDirs::locateResourceFile("config", QStringLiteral("akonadi/mysql-global.conf")); | 320 | const QString globalConfig = StandardDirs::locateResourceFile("config", QStringLiteral("mysql-global.conf")); | ||
321 | const QFileInfo globalConfigInfo(globalConfig); | 321 | const QFileInfo globalConfigInfo(globalConfig); | ||
322 | if (!globalConfig.isEmpty() && globalConfigInfo.exists() && globalConfigInfo.isReadable()) { | 322 | if (!globalConfig.isEmpty() && globalConfigInfo.exists() && globalConfigInfo.isReadable()) { | ||
323 | item = report(Success, ki18n("MySQL server default configuration found."), | 323 | item = report(Success, ki18n("MySQL server default configuration found."), | ||
Context not available. | |||||
330 | "Check your Akonadi installation is complete and you have all required access rights.")); | 330 | "Check your Akonadi installation is complete and you have all required access rights.")); | ||
331 | } | 331 | } | ||
332 | 332 | | |||
333 | const QString localConfig = StandardDirs::locateResourceFile("config", QStringLiteral("akonadi/mysql-local.conf")); | 333 | const QString localConfig = StandardDirs::locateResourceFile("config", QStringLiteral("mysql-local.conf")); | ||
334 | const QFileInfo localConfigInfo(localConfig); | 334 | const QFileInfo localConfigInfo(localConfig); | ||
335 | if (localConfig.isEmpty() || !localConfigInfo.exists()) { | 335 | if (localConfig.isEmpty() || !localConfigInfo.exists()) { | ||
336 | report(Skip, ki18n("MySQL server custom configuration not available."), | 336 | report(Skip, ki18n("MySQL server custom configuration not available."), | ||
Context not available. |