From f613df10758e24b57c366ced5583b7a6244ac7c0 Mon Sep 17 00:00:00 2001 From: Eike Ziller Date: Mon, 28 Mar 2022 09:26:31 +0200 Subject: [PATCH] ExtensionSystem: Clarify text in "Problematic Plugin" dialog If Qt Creator crashed at startup, we show a dialog pointing fingers to a plugin, the next time Qt Creator is started. Make clearer that the problem was the _last_ time Qt Creator was started, not during the current startup. Make clearer that the "following plugins are disabled too" refers to the case when the user decides to temporarily disable the plugin. Change-Id: Ie6cfed2e445b9e5c1598783474ce8a169d82bc3a Reviewed-by: Reviewed-by: Leena Miettinen --- src/libs/extensionsystem/pluginmanager.cpp | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/src/libs/extensionsystem/pluginmanager.cpp b/src/libs/extensionsystem/pluginmanager.cpp index a4e66f6fc81..fe2902e24bc 100644 --- a/src/libs/extensionsystem/pluginmanager.cpp +++ b/src/libs/extensionsystem/pluginmanager.cpp @@ -1553,12 +1553,14 @@ void PluginManagerPrivate::checkForProblematicPlugins() ? tr("%1 > About Plugins") .arg(QGuiApplication::applicationDisplayName()) : tr("Help > About Plugins"); - const QString otherPluginsText = tr("The following plugins depend on " - "%1 and are also disabled: %2.\n\n") - .arg(spec->name(), dependentsList); + const QString otherPluginsText + = tr("If you temporarily disable %1, the following plugins that depend on " + "it are also disabled: %2.\n\n") + .arg(spec->name(), dependentsList); const QString detailsText = (dependents.isEmpty() ? QString() : otherPluginsText) + tr("Disable plugins permanently in %1.").arg(pluginsMenu); - const QString text = tr("It looks like %1 closed because of a problem with the \"%2\" " + const QString text = tr("The last time you started %1, it seems to have closed because " + "of a problem with the \"%2\" " "plugin. Temporarily disable the plugin?") .arg(QGuiApplication::applicationDisplayName(), spec->name()); QMessageBox dialog;