diff --git a/bin/locale/qt_de.qm b/bin/locale/qt_de.qm index 2624e9283..113bbcc39 100644 Binary files a/bin/locale/qt_de.qm and b/bin/locale/qt_de.qm differ diff --git a/src/lib/preferences/pluginlistdelegate.cpp b/src/lib/preferences/pluginlistdelegate.cpp index 846966a52..17ba3d0e2 100644 --- a/src/lib/preferences/pluginlistdelegate.cpp +++ b/src/lib/preferences/pluginlistdelegate.cpp @@ -74,6 +74,8 @@ void PluginListDelegate::drawDisplay(QPainter* painter, const QStyleOptionViewIt QSize PluginListDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const { + Q_UNUSED(index) + const int textMargin = QApplication::style()->pixelMetric(QStyle::PM_FocusFrameHMargin, 0) + 1; QSize size; diff --git a/src/lib/preferences/pluginslist.cpp b/src/lib/preferences/pluginslist.cpp index d5c249bed..17e2c262e 100644 --- a/src/lib/preferences/pluginslist.cpp +++ b/src/lib/preferences/pluginslist.cpp @@ -50,7 +50,7 @@ PluginsList::PluginsList(QWidget* parent) connect(ui->list, SIGNAL(itemChanged(QListWidgetItem*)), this, SLOT(itemChanged(QListWidgetItem*))); connect(ui->allowAppPlugins, SIGNAL(clicked(bool)), this, SLOT(allowAppPluginsChanged(bool))); - ui->list->setItemDelegateForColumn(0, new PluginListDelegate(ui->list)); + ui->list->setItemDelegate(new PluginListDelegate(ui->list)); //WebKit Plugins connect(ui->add, SIGNAL(clicked()), this, SLOT(addWhitelist())); @@ -154,7 +154,7 @@ void PluginsList::refresh() PluginSpec spec = plugin.pluginSpec; QListWidgetItem* item = new QListWidgetItem(ui->list); - QString pluginInfo = QString("%1 %2 (%3)
%4
%5").arg(spec.name, spec.version, spec.author, spec.info, spec.description); + QString pluginInfo = QString("%1 %2 (%3)
\n%4
\n%5\n").arg(spec.name, spec.version, spec.author, spec.info, spec.description); item->setText(pluginInfo);