aboutsummaryrefslogtreecommitdiff
path: root/src/qt/sendcoinsentry.h
diff options
context:
space:
mode:
authorHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-05-30 18:58:25 +0200
committerHennadii Stepanov <32963518+hebasto@users.noreply.github.com>2022-06-12 13:40:46 +0200
commitf3c76033295b8007c61eab7fcb23cf119d72b8b8 (patch)
tree7e2070891be1d45565db6e08cca6b915645b2955 /src/qt/sendcoinsentry.h
parent6420fb2005db1490d77c6df45d0b97d7389ff609 (diff)
downloadbitcoin-f3c76033295b8007c61eab7fcb23cf119d72b8b8.tar.xz
qt, refactor: Convert `SendCoinsEntry` to a sub-`QWidget`
It is no longer needed to derive the `SendCoinsEntry` class from the `QStackedWidget` one.
Diffstat (limited to 'src/qt/sendcoinsentry.h')
-rw-r--r--src/qt/sendcoinsentry.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/qt/sendcoinsentry.h b/src/qt/sendcoinsentry.h
index e8db1e3a5c..ea9d58fbf8 100644
--- a/src/qt/sendcoinsentry.h
+++ b/src/qt/sendcoinsentry.h
@@ -7,7 +7,7 @@
#include <qt/sendcoinsrecipient.h>
-#include <QStackedWidget>
+#include <QWidget>
class WalletModel;
class PlatformStyle;
@@ -22,10 +22,8 @@ namespace Ui {
/**
* A single entry in the dialog for sending bitcoins.
- * Stacked widget, with different UIs for payment requests
- * with a strong payee identity.
*/
-class SendCoinsEntry : public QStackedWidget
+class SendCoinsEntry : public QWidget
{
Q_OBJECT