search merged to os x version, fixed some retina render, custom notifies code moved to window module

This commit is contained in:
John Preston
2014-07-06 07:32:21 +04:00
parent 29d6bf46c8
commit 1167117ee0
38 changed files with 743 additions and 3679 deletions
+2 -4
View File
@@ -71,10 +71,8 @@ void Dropdown::paintEvent(QPaintEvent *e) {
int32 top = st::dropdownPadding.top() + _buttons.front()->height();
p.setPen(st::dropdownBorderColor->p);
for (int32 i = 1, s = _buttons.size(); i < s; ++i) {
for (int32 e = top + st::dropdownBorder; top < e; ++top) {
p.drawLine(st::dropdownPadding.left(), top, _width - st::dropdownPadding.right() - 1, top);
}
top += _buttons[i]->height();
p.fillRect(st::dropdownPadding.left(), top, _width - st::dropdownPadding.left() - st::dropdownPadding.right(), st::dropdownBorder, st::dropdownBorderColor->b);
top += st::dropdownBorder + _buttons[i]->height();
}
}
}