Commit 141d0d90 authored by Eike Ziller's avatar Eike Ziller

Plugin manager: Show current platform string in plugin details

Change-Id: Ia1fc03ae715daa9f0469f6b2859de932f8eeb562
Reviewed-by: default avatarTobias Hunger <>
parent 21fb7eb4
......@@ -29,6 +29,8 @@
#include "plugindetailsview.h"
#include "ui_plugindetailsview.h"
#include "pluginmanager.h"
#include "pluginspec.h"
#include <QDir>
......@@ -86,7 +88,10 @@ void PluginDetailsView::update(PluginSpec *spec)
const QRegExp platforms = spec->platformSpecification();
m_ui->platforms->setText(platforms.isEmpty() ? tr("All") : platforms.pattern());
const QString pluginPlatformString = platforms.isEmpty() ? tr("All") : platforms.pattern();
const QString platformString = tr("%1 (current: \"%2\")").arg(pluginPlatformString,
QStringList depStrings;
foreach (const PluginDependency &dep, spec->dependencies()) {
QString depString =;
Markdown is supported
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