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: hjk <qthjk@ovi.com>
This commit is contained in:
Daniel Teske
2012-02-16 16:22:53 +01:00
committed by hjk
parent 3aab8beaf4
commit d3f692ca06
2 changed files with 5 additions and 1 deletions

View File

@@ -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 *);
};