From 56f272b11d13bbc5d829283ccf2813d3a7e41dbc Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Tue, 13 May 2008 07:07:57 +0000 Subject: [ADD] Sound UI code [FIX] Using class-named includes for KDE as well now [FIX] Signals fixed for UI classes [FIX] FileDialog now created on heap rather than the stack git-svn-id: https://pokegen.svn.sourceforge.net/svnroot/pokegen/trunk@128 6ecfd1a5-f3ed-3746-8530-beee90d26b22 --- pokemodr/MapTrainerTeamMemberUI.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pokemodr/MapTrainerTeamMemberUI.cpp') diff --git a/pokemodr/MapTrainerTeamMemberUI.cpp b/pokemodr/MapTrainerTeamMemberUI.cpp index c3cef705..90096dd5 100644 --- a/pokemodr/MapTrainerTeamMemberUI.cpp +++ b/pokemodr/MapTrainerTeamMemberUI.cpp @@ -33,8 +33,8 @@ MapTrainerTeamMemberUI::MapTrainerTeamMemberUI(MapTrainerTeamMember* teamMember, setObjects(teamMember, new MapTrainerTeamMember(*teamMember)); connect(this, SIGNAL(changed(bool)), boxButtons, SLOT(setEnabled(bool))); connect(modified(), SIGNAL(error(const QString&)), this, SLOT(setGui())); - connect(modified(), SIGNAL(error(QString&)), this, SLOT(errorMessage(QString&))); - connect(modified(), SIGNAL(warning(QString&)), this, SLOT(warningMessage(QString&))); + connect(modified(), SIGNAL(error(const QString&)), this, SLOT(errorMessage(const QString&))); + connect(modified(), SIGNAL(warning(const QString&)), this, SLOT(warningMessage(const QString&))); connect(modified(), SIGNAL(changed()), this, SLOT(setChanged())); init(); } -- cgit