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
parent
f444b25ac1
commit
aeceb5e383
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue