Commit 85dcd1fd authored by Laurent Montel's avatar Laurent Montel 😁

Make focus to lineedit

parent db96bef6
......@@ -39,6 +39,7 @@ KDEApplicationDebugSettingPage::KDEApplicationDebugSettingPage(QWidget *parent)
mTreeListWidgetSearchLine = new KTreeWidgetSearchLine(this, mTreeListWidget);
mTreeListWidgetSearchLine->setPlaceholderText(i18n("Search..."));
mTreeListWidgetSearchLine->setObjectName(QStringLiteral("searchline"));
mTreeListWidgetSearchLine->setFocus();
mainLayout->addWidget(mTreeListWidgetSearchLine);
mainLayout->addWidget(mTreeListWidget);
......
......@@ -66,6 +66,7 @@ KDebugSettingsDialog::KDebugSettingsDialog(QWidget *parent)
mTabWidget->addTab(mKdeApplicationSettingsPage, i18n("KDE Application"));
mTabWidget->addTab(mCustomSettingsPage, i18n("Custom Rules"));
mTabWidget->addTab(mEnvironmentSettingsRulesPage, i18n("Rules Settings With Environment Variable"));
mTabWidget->setFocusPolicy(Qt::NoFocus);
QDialogButtonBox *buttonBox = new QDialogButtonBox(QDialogButtonBox::Ok | QDialogButtonBox::Cancel | QDialogButtonBox::Help | QDialogButtonBox::Apply);
buttonBox->setObjectName(QStringLiteral("buttonbox"));
......
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