diff options
author | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-01-11 14:35:34 +0200 |
---|---|---|
committer | Hennadii Stepanov <32963518+hebasto@users.noreply.github.com> | 2020-05-13 16:02:38 +0300 |
commit | 1122817c194ed49abf896e68604e725c3b5c8569 (patch) | |
tree | 58eefca77b24719990aa34c93c93a6cfa46e8659 /src/qt/transactionview.cpp | |
parent | a33901cb6d82e2f75aab67f80a8852b7e6e9817a (diff) |
qt: Remove QFont warnings with QPA=minimal
Diffstat (limited to 'src/qt/transactionview.cpp')
-rw-r--r-- | src/qt/transactionview.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qt/transactionview.cpp b/src/qt/transactionview.cpp index 3c638fb358..fca0ab0691 100644 --- a/src/qt/transactionview.cpp +++ b/src/qt/transactionview.cpp @@ -8,6 +8,7 @@ #include <qt/bitcoinunits.h> #include <qt/csvmodelwriter.h> #include <qt/editaddressdialog.h> +#include <qt/guiutil.h> #include <qt/optionsmodel.h> #include <qt/platformstyle.h> #include <qt/transactiondescdialog.h> @@ -396,9 +397,8 @@ void TransactionView::contextualMenu(const QPoint &point) abandonAction->setEnabled(model->wallet().transactionCanBeAbandoned(hash)); bumpFeeAction->setEnabled(model->wallet().transactionCanBeBumped(hash)); - if(index.isValid()) - { - contextMenu->popup(transactionView->viewport()->mapToGlobal(point)); + if (index.isValid()) { + GUIUtil::PopupMenu(contextMenu, transactionView->viewport()->mapToGlobal(point)); } } |