forked from qt-creator/qt-creator
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:
@@ -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 *);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user