fixed some graphic styles in MacOSX

This commit is contained in:
Luis Ángel San Martín
2015-01-19 21:49:27 +01:00
parent d01e49dd3f
commit bb2e55d0b6
6 changed files with 14 additions and 13 deletions

View File

@ -150,12 +150,7 @@ void YACReaderSideBar::paintEvent(QPaintEvent * event)
#ifdef Q_OS_MAC
QPainter painter(this);
QLinearGradient lG(0,0,0,height());
lG.setColorAt(0,QColor("#E8ECF1"));
lG.setColorAt(1,QColor("#D1D8E0"));
painter.fillRect(0,0,width(),height(),lG);
painter.fillRect(0,0,width(),height(),QColor("#F6F0F2"));
#else
QPainter painter(this);