From 2766e3de2def21326beb58861981fbe2da98b52e Mon Sep 17 00:00:00 2001 From: Mika Lindqvist Date: Thu, 19 Sep 2019 02:39:32 +0300 Subject: [PATCH] [Fix] Recent Qt versions require explicit include for QAction and QStyle classes --- src/Gui/AddressBook/NewAddressDialog.cpp | 4 +++- src/Gui/Common/ChangePasswordDialog.cpp | 4 +++- src/Gui/Common/NewPasswordDialog.cpp | 4 +++- src/Gui/NoWallet/NoWalletFrame.cpp | 4 +++- src/Gui/Send/SendFrame.cpp | 3 ++- src/Gui/Send/TransferFrame.cpp | 3 ++- 6 files changed, 16 insertions(+), 6 deletions(-) diff --git a/src/Gui/AddressBook/NewAddressDialog.cpp b/src/Gui/AddressBook/NewAddressDialog.cpp index cd676e6..0ba03f9 100644 --- a/src/Gui/AddressBook/NewAddressDialog.cpp +++ b/src/Gui/AddressBook/NewAddressDialog.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2015-2018, The Bytecoin developers // Copyright (c) 2018, The PinkstarcoinV2 developers -// Copyright (c) 2018, The Bittorium developers +// Copyright (c) 2018-2019, The Bittorium developers // // This file is part of Bytecoin. // @@ -17,6 +17,8 @@ // You should have received a copy of the GNU Lesser General Public License // along with Bytecoin. If not, see . +#include + #include "NewAddressDialog.h" #include "IAddressBookManager.h" #include "IDonationManager.h" diff --git a/src/Gui/Common/ChangePasswordDialog.cpp b/src/Gui/Common/ChangePasswordDialog.cpp index 55df6b9..a650229 100644 --- a/src/Gui/Common/ChangePasswordDialog.cpp +++ b/src/Gui/Common/ChangePasswordDialog.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2015-2018, The Bytecoin developers // Copyright (c) 2018, The PinkstarcoinV2 developers -// Copyright (c) 2018, The Bittorium developers +// Copyright (c) 2018-2019, The Bittorium developers // // This file is part of Bytecoin. // @@ -17,6 +17,8 @@ // You should have received a copy of the GNU Lesser General Public License // along with Bytecoin. If not, see . +#include + #include "ChangePasswordDialog.h" #include "ui_ChangePasswordDialog.h" diff --git a/src/Gui/Common/NewPasswordDialog.cpp b/src/Gui/Common/NewPasswordDialog.cpp index 1b1f060..d1386d3 100644 --- a/src/Gui/Common/NewPasswordDialog.cpp +++ b/src/Gui/Common/NewPasswordDialog.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2015-2018, The Bytecoin developers // Copyright (c) 2018, The PinkstarcoinV2 developers -// Copyright (c) 2018, The Bittorium developers +// Copyright (c) 2018-2019, The Bittorium developers // // This file is part of Bytecoin. // @@ -17,6 +17,8 @@ // You should have received a copy of the GNU Lesser General Public License // along with Bytecoin. If not, see . +#include + #include "NewPasswordDialog.h" #include "ui_NewPasswordDialog.h" diff --git a/src/Gui/NoWallet/NoWalletFrame.cpp b/src/Gui/NoWallet/NoWalletFrame.cpp index 8d9319b..3c27824 100644 --- a/src/Gui/NoWallet/NoWalletFrame.cpp +++ b/src/Gui/NoWallet/NoWalletFrame.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2015-2018, The Bytecoin developers // Copyright (c) 2018, The PinkstarcoinV2 developers -// Copyright (c) 2018, The Bittorium developers +// Copyright (c) 2018-2019, The Bittorium developers // // This file is part of Bytecoin. // @@ -17,7 +17,9 @@ // You should have received a copy of the GNU Lesser General Public License // along with Bytecoin. If not, see . +#include #include +#include #include #include "NoWalletFrame.h" #include "Settings/Settings.h" diff --git a/src/Gui/Send/SendFrame.cpp b/src/Gui/Send/SendFrame.cpp index 7cec5b3..29f5659 100644 --- a/src/Gui/Send/SendFrame.cpp +++ b/src/Gui/Send/SendFrame.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2015-2018, The Bytecoin developers // Copyright (c) 2018, The PinkstarcoinV2 developers -// Copyright (c) 2018, The Bittorium developers +// Copyright (c) 2018-2019, The Bittorium developers // // This file is part of Bytecoin. // @@ -18,6 +18,7 @@ // along with Bytecoin. If not, see . #include +#include #include #include diff --git a/src/Gui/Send/TransferFrame.cpp b/src/Gui/Send/TransferFrame.cpp index 3d9c8d4..bcf9732 100644 --- a/src/Gui/Send/TransferFrame.cpp +++ b/src/Gui/Send/TransferFrame.cpp @@ -1,6 +1,6 @@ // Copyright (c) 2015-2018, The Bytecoin developers // Copyright (c) 2018, The PinkstarcoinV2 developers -// Copyright (c) 2018, The Bittorium developers +// Copyright (c) 2018-2019, The Bittorium developers // // This file is part of Bytecoin. // @@ -19,6 +19,7 @@ #include #include +#include #include #include "TransferFrame.h"