aboutsummaryrefslogtreecommitdiff
path: root/src/qt/guiutil.h
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2016-11-18 15:47:20 +0100
committerLuke Dashjr <luke-jr+git@utopios.org>2016-12-02 07:44:15 +0000
commitdc46b10a087921343bb5a05d08393ece061d6303 (patch)
treeeedf63ad3fb4205b3ac6eb84dd95a01dfec9be16 /src/qt/guiutil.h
parentff423cc6b0323854b93810fa7a9a479a746f6d5d (diff)
downloadbitcoin-dc46b10a087921343bb5a05d08393ece061d6303.tar.xz
qt: Plug many memory leaks
None of these are very serious, and are leaks in objects that are created at most one time. In most cases this means properly using the QObject parent hierarchy, except for BanTablePriv/PeerTablePriv which are not QObject, so use a std::unique_ptr instead. Github-Pull: #9190 Rebased-From: 47db07537746940ee7dd0739a8c73e328837813f
Diffstat (limited to 'src/qt/guiutil.h')
-rw-r--r--src/qt/guiutil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qt/guiutil.h b/src/qt/guiutil.h
index 9267e0a6c9..83cd6b5d46 100644
--- a/src/qt/guiutil.h
+++ b/src/qt/guiutil.h
@@ -150,7 +150,7 @@ namespace GUIUtil
Q_OBJECT
public:
- TableViewLastColumnResizingFixer(QTableView* table, int lastColMinimumWidth, int allColsMinimumWidth);
+ TableViewLastColumnResizingFixer(QTableView* table, int lastColMinimumWidth, int allColsMinimumWidth, QObject *parent);
void stretchColumnWidth(int column);
private: