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 'libopie/odevicebutton.cpp') diff --git a/libopie/odevicebutton.cpp b/libopie/odevicebutton.cpp index 2270343..4b22358 100644 --- a/libopie/odevicebutton.cpp +++ b/libopie/odevicebutton.cpp @@ -70,7 +70,7 @@ void OQCopMessage::init ( const QCString &ch, const QCString &m, const QByteArra bool OQCopMessage::send ( ) { - if ( d-> m_channel. isEmpty ( ) || d-> m_message. isEmpty ( )) + if ( d-> m_channel. isEmpty ( ) || d-> m_message. isEmpty ( ) ) return false; QCopEnvelope e ( d-> m_channel, d-> m_message ); @@ -218,6 +218,7 @@ void ODeviceButton::setFactoryPresetPressedAction(const OQCopMessage& action) m_FactoryPresetPressedAction = action; } + void ODeviceButton::setPressedAction(const OQCopMessage& action) { m_PressedAction = action; -- cgit v0.9.0.2