forked from qt-creator/qt-creator
ManhattanStyle: Remove one line of useless code
Change-Id: I5adc362e486eb16f18aed7a496d2012fbc219bb8 Reviewed-by: Eike Ziller <eike.ziller@digia.com>
This commit is contained in:
committed by
Eike Ziller
parent
b1ecbaa31d
commit
399a44b8f7
@@ -779,7 +779,6 @@ void ManhattanStyle::drawControl(ControlElement element, const QStyleOption *opt
|
||||
{
|
||||
QRect rect = option->rect;
|
||||
bool horizontal = option->state & State_Horizontal;
|
||||
rect = option->rect;
|
||||
|
||||
// Map offset for global window gradient
|
||||
QPoint offset = widget->window()->mapToGlobal(option->rect.topLeft()) -
|
||||
|
||||
Reference in New Issue
Block a user