fixed compilation in MacOSX, new background color for the sidebar in MacOSX

This commit is contained in:
Luis Ángel San Martín 2015-01-21 21:56:43 +01:00
parent 989a2c4241
commit 63e36141ee
2 changed files with 3 additions and 1 deletions

View File

@ -1,6 +1,8 @@
#include "reading_list_item.h" #include "reading_list_item.h"
#include "qnaturalsorting.h" #include "qnaturalsorting.h"
#include <QFileIconProvider>
ListItem::ListItem(const QList<QVariant> &data) ListItem::ListItem(const QList<QVariant> &data)
:itemData(data) :itemData(data)
{ {

View File

@ -150,7 +150,7 @@ void YACReaderSideBar::paintEvent(QPaintEvent * event)
#ifdef Q_OS_MAC #ifdef Q_OS_MAC
QPainter painter(this); QPainter painter(this);
painter.fillRect(0,0,width(),height(),QColor("#F6F6F6")); painter.fillRect(0,0,width(),height(),QColor("#FFFFFF"));
#else #else
QPainter painter(this); QPainter painter(this);