mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Finally fixes issue with rendering plugins list on KDE!
- uploaded correct qt german translation (qt_de.qm)
This commit is contained in:
parent
527fba76b7
commit
805187f4e1
Binary file not shown.
@ -74,6 +74,8 @@ void PluginListDelegate::drawDisplay(QPainter* painter, const QStyleOptionViewIt
|
|||||||
|
|
||||||
QSize PluginListDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
|
QSize PluginListDelegate::sizeHint(const QStyleOptionViewItem &option, const QModelIndex &index) const
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(index)
|
||||||
|
|
||||||
const int textMargin = QApplication::style()->pixelMetric(QStyle::PM_FocusFrameHMargin, 0) + 1;
|
const int textMargin = QApplication::style()->pixelMetric(QStyle::PM_FocusFrameHMargin, 0) + 1;
|
||||||
|
|
||||||
QSize size;
|
QSize size;
|
||||||
|
@ -50,7 +50,7 @@ PluginsList::PluginsList(QWidget* parent)
|
|||||||
connect(ui->list, SIGNAL(itemChanged(QListWidgetItem*)), this, SLOT(itemChanged(QListWidgetItem*)));
|
connect(ui->list, SIGNAL(itemChanged(QListWidgetItem*)), this, SLOT(itemChanged(QListWidgetItem*)));
|
||||||
connect(ui->allowAppPlugins, SIGNAL(clicked(bool)), this, SLOT(allowAppPluginsChanged(bool)));
|
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
|
//WebKit Plugins
|
||||||
connect(ui->add, SIGNAL(clicked()), this, SLOT(addWhitelist()));
|
connect(ui->add, SIGNAL(clicked()), this, SLOT(addWhitelist()));
|
||||||
@ -154,7 +154,7 @@ void PluginsList::refresh()
|
|||||||
PluginSpec spec = plugin.pluginSpec;
|
PluginSpec spec = plugin.pluginSpec;
|
||||||
|
|
||||||
QListWidgetItem* item = new QListWidgetItem(ui->list);
|
QListWidgetItem* item = new QListWidgetItem(ui->list);
|
||||||
QString pluginInfo = QString("<b>%1</b> %2 (%3)<br/>%4<br/>%5").arg(spec.name, spec.version, spec.author, spec.info, spec.description);
|
QString pluginInfo = QString("<b>%1</b> %2 (%3)<br/>\n%4<br/>\n%5\n").arg(spec.name, spec.version, spec.author, spec.info, spec.description);
|
||||||
item->setText(pluginInfo);
|
item->setText(pluginInfo);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user