QColorDialog: merge two consecutive ifs with the same test

Change-Id: I931bf8f61f95c879522daabf4fc9d6f5801a307b
Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
bb10
Giuseppe D'Angelo 2015-01-04 23:04:41 +01:00
parent f444b25ac1
commit aeceb5e383
1 changed files with 0 additions and 2 deletions

View File

@ -1655,9 +1655,7 @@ void QColorDialogPrivate::initWidgets()
if (!smallDisplay) {
leftLay = new QVBoxLayout;
topLay->addLayout(leftLay);
}
if (!smallDisplay) {
standard = new QColorWell(q, standardColorRows, colorColumns, QColorDialogOptions::standardColors());
lblBasicColors = new QLabel(q);
#ifndef QT_NO_SHORTCUT