mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 09:32:12 +01:00
[RTL] Force AdBlockTreeWidget and treeTags to be as LTR widgets.
This commit is contained in:
parent
4ea5974914
commit
7fc0c8d06d
|
@ -34,6 +34,7 @@ AdBlockTreeWidget::AdBlockTreeWidget(AdBlockSubscription* subscription, QWidget*
|
|||
setDefaultItemShowMode(TreeWidget::ItemsExpanded);
|
||||
setHeaderHidden(true);
|
||||
setAlternatingRowColors(true);
|
||||
setLayoutDirection(Qt::LeftToRight);
|
||||
|
||||
connect(this, SIGNAL(customContextMenuRequested(QPoint)), this, SLOT(contextMenuRequested(QPoint)));
|
||||
connect(this, SIGNAL(itemChanged(QTreeWidgetItem*,int)), this, SLOT(itemChanged(QTreeWidgetItem*)));
|
||||
|
|
|
@ -52,6 +52,7 @@ SiteInfo::SiteInfo(WebView* view, QWidget* parent)
|
|||
{
|
||||
setAttribute(Qt::WA_DeleteOnClose);
|
||||
ui->setupUi(this);
|
||||
ui->treeTags->setLayoutDirection(Qt::LeftToRight);
|
||||
|
||||
ListItemDelegate* delegate = new ListItemDelegate(24, ui->listWidget);
|
||||
delegate->setUpdateParentHeight(true);
|
||||
|
|
Loading…
Reference in New Issue
Block a user