From 28be0fcc9bda71175c3ee17e79fce2ac24340ff2 Mon Sep 17 00:00:00 2001 From: groucho Date: Wed, 19 Mar 2003 11:36:34 +0000 Subject: Fixed bug #744 where non mapped buttons in buttonsettings were not saved by introducing the " ignore" statement. Also removed unsed debug code --- (limited to 'core/settings/button/buttonutils.cpp') diff --git a/core/settings/button/buttonutils.cpp b/core/settings/button/buttonutils.cpp index 91d2af3..27a2f38 100644 --- a/core/settings/button/buttonutils.cpp +++ b/core/settings/button/buttonutils.cpp @@ -65,7 +65,8 @@ qCopInfo ButtonUtils::messageToInfo ( const OQCopMessage &c ) QCString ch = c. channel ( ); QCString f = c. message ( ); - if ( ch. isNull ( )) + + if ( ch == "ignore" ) return qCopInfo ( qApp-> translate ( "ButtonSettings", "Ignored" )); for ( const predef_qcop *p = predef; p-> m_text; p++ ) { -- cgit v0.9.0.2