Hide config errors by default.

This commit is contained in:
Louis-Bertrand Varin 2017-03-11 22:04:38 -05:00
parent 15a288aa5b
commit da85252347

View File

@ -62,6 +62,7 @@ SettingsWidget::SettingsWidget(QWidget* parent)
addPage(tr("General"), FilePath::instance()->icon("categories", "preferences-other"), m_generalWidget);
addPage(tr("Security"), FilePath::instance()->icon("status", "security-high"), m_secWidget);
m_generalUi->messageWidget->setVisible(false);
if (config()->hasAccessError()) {
m_generalUi->messageWidget->showMessage(
tr("Access error with config file ") + config()->getFileName(), MessageWidget::Error);