mirror of
https://github.com/feather-wallet/feather.git
synced 2024-12-22 19:49:28 +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;
|
||||
case Author:
|
||||
return entry->author;
|
||||
#ifdef Q_OS_MACOS
|
||||
case Progress:
|
||||
return QString("%1/%2 XMR").arg(entry->raised_amount).arg(entry->target_amount);
|
||||
#endif
|
||||
default:
|
||||
return QVariant();
|
||||
}
|
||||
|
|
|
@ -17,11 +17,7 @@ CCSWidget::CCSWidget(QWidget *parent)
|
|||
, m_contextMenu(new QMenu(this))
|
||||
{
|
||||
ui->setupUi(this);
|
||||
auto progressDelegate = new CCSProgressDelegate(m_model, this);
|
||||
ui->tableView->setModel(m_model);
|
||||
#ifndef Q_OS_MACOS
|
||||
ui->tableView->setItemDelegateForColumn(2, progressDelegate);
|
||||
#endif
|
||||
this->setupTable();
|
||||
|
||||
m_contextMenu->addAction("View proposal", this, &CCSWidget::linkClicked);
|
||||
|
|
Loading…
Reference in a new issue