Revision 1776 trunk/client/gui_qt/ProgressBarDelegateDownloadQueue.cpp

ProgressBarDelegateDownloadQueue.cpp (revision 1776)
36 36
{
37 37
    Q_UNUSED(option);
38 38
    QStyleOptionProgressBarV2 opts;
39
    int value = index.model()->data(index.sibling(index.row(), WidgetDownloadQueue::FIELD_PROGRESS), Qt::DisplayRole).toInt();
39
    int value = index.model()->data(index.sibling(index.row(), DownloadQueueItem::FIELD_PROGRESS), Qt::DisplayRole).toInt();
40 40
    QString txt = index.model()->data(index, Qt::DisplayRole).toString();
41 41

                
42 42
    if (txt.isEmpty()) {

Also available in: Unified diff