From 076ccb30ed306a8ac3beceabc0e27004019f8d2e Mon Sep 17 00:00:00 2001 From: sln Date: Thu, 13 Jul 2006 13:21:24 +0000 Subject: [PATCH] Initialization of Buttons structure added --- src/Qtx/QtxListAction.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/src/Qtx/QtxListAction.h b/src/Qtx/QtxListAction.h index 30c85acc0..ad72b1f02 100755 --- a/src/Qtx/QtxListAction.h +++ b/src/Qtx/QtxListAction.h @@ -97,12 +97,16 @@ private: QPopupMenu* listPopup( QWidget* ) const; QToolButton* mainButton( QWidget* ) const; QToolButton* dropButton( QWidget* ) const; - + void controlDeleted( QWidget* ); - + private: typedef struct { int id; QPopupMenu* popup; } Popups; - typedef struct { QToolButton* main; QToolButton* drop; } Buttons; + struct Buttons { + QToolButton* main; + QToolButton* drop; + Buttons(): main(0),drop(0){} + }; typedef QMap PopupsMap; typedef QMap ButtonsMap; -- 2.39.2