Commit d3f692ca authored by Daniel Teske's avatar Daniel Teske Committed by hjk

Unconfigured Settings Page: Make a few more widgets unfocuseable

To ensure that the focus ends up in the right place.

Task-number: QTCREATORBUG-6908

Change-Id: Ieac8c7322620217af34f143946b827dbff16169b
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 3aab8bea
......@@ -94,7 +94,9 @@ public:
class RootWidget : public QWidget
{
public:
RootWidget(QWidget *parent) : QWidget(parent) {}
RootWidget(QWidget *parent) : QWidget(parent) {
setFocusPolicy(Qt::NoFocus);
}
void paintEvent(QPaintEvent *);
};
......
......@@ -72,6 +72,8 @@ TargetSettingsPanelWidget::TargetSettingsPanelWidget(Project *project) :
m_addMenu = new QMenu(this);
setFocusPolicy(Qt::NoFocus);
setupUi();
connect(m_project, SIGNAL(addedTarget(ProjectExplorer::Target*)),
......
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