Bugfix: only make QListView transparent, not its tooltips

This commit is contained in:
Luke Dashjr 2011-11-21 12:18:15 -05:00
parent aa1ed9265f
commit a3c675d1a3

View file

@ -111,7 +111,7 @@ OverviewPage::OverviewPage(QWidget *parent) :
ui->labelNumTransactions->setToolTip(tr("Total number of transactions in wallet")); ui->labelNumTransactions->setToolTip(tr("Total number of transactions in wallet"));
// Recent transactions // Recent transactions
ui->listTransactions->setStyleSheet("background:transparent"); ui->listTransactions->setStyleSheet("QListView { background:transparent }");
ui->listTransactions->setItemDelegate(txdelegate); ui->listTransactions->setItemDelegate(txdelegate);
ui->listTransactions->setIconSize(QSize(DECORATION_SIZE, DECORATION_SIZE)); ui->listTransactions->setIconSize(QSize(DECORATION_SIZE, DECORATION_SIZE));
ui->listTransactions->setSelectionMode(QAbstractItemView::NoSelection); ui->listTransactions->setSelectionMode(QAbstractItemView::NoSelection);