Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 878099 | Differences between
and this patch

Collapse All | Expand All

(-)a/qt/FileTreeDelegate.cc (-1 / +1 lines)
Lines 49-55 Link Here
49
    if (column == FileTreeModel::COL_PROGRESS)
49
    if (column == FileTreeModel::COL_PROGRESS)
50
    {
50
    {
51
        QStyleOptionProgressBar p;
51
        QStyleOptionProgressBar p;
52
        p.state = option.state | QStyle::State_Small;
52
        p.state = option.state | QStyle::State_Horizontal | QStyle::State_Small;
53
        p.direction = qApp->layoutDirection();
53
        p.direction = qApp->layoutDirection();
54
        p.rect = option.rect;
54
        p.rect = option.rect;
55
        p.rect.setSize(QSize(option.rect.width() - 4, option.rect.height() - 8));
55
        p.rect.setSize(QSize(option.rect.width() - 4, option.rect.height() - 8));
(-)a/qt/TorrentDelegate.cc (-1 / +1 lines)
Lines 545-551 Link Here
545
        progressBarState = QStyle::State_None;
545
        progressBarState = QStyle::State_None;
546
    }
546
    }
547
547
548
    progressBarState |= QStyle::State_Small;
548
    progressBarState |= QStyle::State_Horizontal | QStyle::State_Small;
549
549
550
    QIcon::Mode const emblemIm = isItemSelected ? QIcon::Selected : QIcon::Normal;
550
    QIcon::Mode const emblemIm = isItemSelected ? QIcon::Selected : QIcon::Normal;
551
    QIcon const emblemIcon = tor.hasError() ? getWarningEmblem() : QIcon();
551
    QIcon const emblemIcon = tor.hasError() ? getWarningEmblem() : QIcon();
(-)a/qt/TorrentDelegateMin.cc (-1 / +1 lines)
Lines 218-224 Link Here
218
        progressBarState = QStyle::State_None;
218
        progressBarState = QStyle::State_None;
219
    }
219
    }
220
220
221
    progressBarState |= QStyle::State_Small;
221
    progressBarState |= QStyle::State_Horizontal | QStyle::State_Small;
222
222
223
    QIcon::Mode const emblemIm = isItemSelected ? QIcon::Selected : QIcon::Normal;
223
    QIcon::Mode const emblemIm = isItemSelected ? QIcon::Selected : QIcon::Normal;
224
    QIcon const emblemIcon = tor.hasError() ? getWarningEmblem() : QIcon();
224
    QIcon const emblemIcon = tor.hasError() ? getWarningEmblem() : QIcon();

Return to bug 878099