mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-23 12:09:50 +00:00
Temporarily remove CCSProgressDelegate
It is broken on Qt6.
This commit is contained in:
parent
3dc546680c
commit
f03d7b217c
2 changed files with 0 additions and 6 deletions
|
@ -56,10 +56,8 @@ QVariant CCSModel::data(const QModelIndex &index, int role) const
|
||||||
return entry->title;
|
return entry->title;
|
||||||
case Author:
|
case Author:
|
||||||
return entry->author;
|
return entry->author;
|
||||||
#ifdef Q_OS_MACOS
|
|
||||||
case Progress:
|
case Progress:
|
||||||
return QString("%1/%2 XMR").arg(entry->raised_amount).arg(entry->target_amount);
|
return QString("%1/%2 XMR").arg(entry->raised_amount).arg(entry->target_amount);
|
||||||
#endif
|
|
||||||
default:
|
default:
|
||||||
return QVariant();
|
return QVariant();
|
||||||
}
|
}
|
||||||
|
|
|
@ -17,11 +17,7 @@ CCSWidget::CCSWidget(QWidget *parent)
|
||||||
, m_contextMenu(new QMenu(this))
|
, m_contextMenu(new QMenu(this))
|
||||||
{
|
{
|
||||||
ui->setupUi(this);
|
ui->setupUi(this);
|
||||||
auto progressDelegate = new CCSProgressDelegate(m_model, this);
|
|
||||||
ui->tableView->setModel(m_model);
|
ui->tableView->setModel(m_model);
|
||||||
#ifndef Q_OS_MACOS
|
|
||||||
ui->tableView->setItemDelegateForColumn(2, progressDelegate);
|
|
||||||
#endif
|
|
||||||
this->setupTable();
|
this->setupTable();
|
||||||
|
|
||||||
m_contextMenu->addAction("View proposal", this, &CCSWidget::linkClicked);
|
m_contextMenu->addAction("View proposal", this, &CCSWidget::linkClicked);
|
||||||
|
|
Loading…
Reference in a new issue