mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-01-11 12:22:39 -03:00
qt: Avoid potential -Wdeprecated-enum-enum-conversion warning
This commit is contained in:
parent
d8641f04e4
commit
acd98adaf1
1 changed files with 1 additions and 1 deletions
|
@ -550,7 +550,7 @@ void TransactionView::openThirdPartyTxUrl(QString url)
|
|||
QWidget *TransactionView::createDateRangeWidget()
|
||||
{
|
||||
dateRangeWidget = new QFrame();
|
||||
dateRangeWidget->setFrameStyle(QFrame::Panel | QFrame::Raised);
|
||||
dateRangeWidget->setFrameStyle(static_cast<int>(QFrame::Panel) | static_cast<int>(QFrame::Raised));
|
||||
dateRangeWidget->setContentsMargins(1,1,1,1);
|
||||
QHBoxLayout *layout = new QHBoxLayout(dateRangeWidget);
|
||||
layout->setContentsMargins(0,0,0,0);
|
||||
|
|
Loading…
Reference in a new issue