Simplify the code by removing a few options from the if.

There was some options on the 'if' that didn't
really belonged there, so I create a if before those
to quit earlier if the condition is true.

Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Tomaz Canabrava 2013-12-19 19:45:54 -02:00 committed by Dirk Hohndel
parent bffceb18e7
commit 890d60ff9e
2 changed files with 9 additions and 6 deletions

View file

@ -65,7 +65,6 @@ signals:
protected:
virtual void paintEvent(QPaintEvent *e);
virtual void keyPressEvent(QKeyEvent *e);
private:
struct Private;
Private *d;