mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
fixed compilation in MacOSX, new background color for the sidebar in MacOSX
This commit is contained in:
parent
989a2c4241
commit
63e36141ee
@ -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)
|
||||||
{
|
{
|
||||||
|
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user