Work on dark skin.

This commit is contained in:
Martin Rotter 2014-01-23 18:01:44 +01:00
parent 06d4988336
commit 5827863910
2 changed files with 3 additions and 20 deletions

File diff suppressed because one or more lines are too long

View File

@ -14,25 +14,8 @@ PlainToolButton::~PlainToolButton() {
}
void PlainToolButton::paintEvent(QPaintEvent *e) {
Q_UNUSED(e)
QPainter p(this);
icon().paint(&p, QRect(QPoint(0, 0), size()));
/*
if (underMouse()) {
QStyleOptionFrameV3 style_option;
int frame_shape = QFrame::Sunken & QFrame::Shape_Mask;
style_option.init(this);
style_option.frameShape = QFrame::Shape(int(style_option.frameShape) |
QFrame::StyledPanel |
frame_shape);
style_option.rect = rect();
style_option.lineWidth = 1;
style_option.midLineWidth = 0;
style()->drawControl(QStyle::CE_ShapedFrame,
&style_option, &p,
this);
}
*/
}