diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-03-21 11:14:20 +0100 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2022-03-22 12:36:25 +0100 |
commit | acd98adaf1d83b71eda235c49d41a92f30c16313 (patch) | |
tree | 867940ec17813fb5bd82554abd38ac52410b58fa /src/qt | |
parent | d8641f04e4350755e5264e55730392730ab7c9ee (diff) |
qt: Avoid potential -Wdeprecated-enum-enum-conversion warning
Diffstat (limited to 'src/qt')
-rw-r--r-- | src/qt/transactionview.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index 778ef04b77..47f3ba7e7f 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -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); |