Commit 93011385 authored by Ulf Hermann's avatar Ulf Hermann Committed by hjk
Browse files

SettingsDialog: Unknown settings pages aren't a fatal condition.

Whenever you remove a plugin with a settings page you will eventually
run into this. We can silently ignore it.

Change-Id: I887d7e7d21e1e2f68375b60456160f9998f9c650
Reviewed-by: default avatarFriedemann Kleint <>
Reviewed-by: default avatarEike Ziller <>
parent 11f6cc7c
......@@ -397,8 +397,8 @@ void SettingsDialog::showPage(const Id pageId)
QTC_ASSERT(!initialPageId.isValid() || initialPageIndex != -1,
qDebug("Unknown page: %s",;
if (initialPageId.isValid() && initialPageIndex == -1)
return; // Unknown settings page, probably due to missing plugin.
if (initialCategoryIndex != -1) {
const QModelIndex modelIndex = m_proxyModel->mapFromSource(m_model->index(initialCategoryIndex));
Supports Markdown
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