mirror of
https://github.com/martinrotter/rssguard.git
synced 2024-12-31 18:37:30 +01:00
Work on dark skin.
This commit is contained in:
parent
06d4988336
commit
5827863910
File diff suppressed because one or more lines are too long
@ -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);
|
||||
}
|
||||
*/
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user