mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
fixed StyledDelegate completed folder style
This commit is contained in:
parent
5f75d278d4
commit
397761451a
@ -88,7 +88,7 @@ YACReaderFoldersViewItemDeletegate::YACReaderFoldersViewItemDeletegate(QObject *
|
|||||||
void YACReaderFoldersViewItemDeletegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
|
void YACReaderFoldersViewItemDeletegate::paint(QPainter *painter, const QStyleOptionViewItem &option, const QModelIndex &index) const
|
||||||
{
|
{
|
||||||
|
|
||||||
if(index.data(FolderModel::CompletedRole).toBool())
|
if(!index.data(FolderModel::CompletedRole).toBool())
|
||||||
{
|
{
|
||||||
painter->save();
|
painter->save();
|
||||||
#ifdef Q_OS_MAC
|
#ifdef Q_OS_MAC
|
||||||
|
Loading…
x
Reference in New Issue
Block a user