From af02302ec3615007e34cedfb8d91dd3a55832fbb Mon Sep 17 00:00:00 2001 From: zecke Date: Sat, 20 Sep 2003 12:42:21 +0000 Subject: Fix double suspend on key input ServerApp proxied the power() signal from KeyFilter and we've connected togglePower() twice to it. We only need to connect to the ServerApp power signal and not to keyfilter because we emit power() from ServerApp on QCOP --- (limited to 'core') diff --git a/core/launcher/serverapp.cpp b/core/launcher/serverapp.cpp index 28316a4..69e083d 100644 --- a/core/launcher/serverapp.cpp +++ b/core/launcher/serverapp.cpp @@ -333,7 +333,7 @@ ServerApplication::ServerApplication( int& argc, char **argv, Type t ) connect( kf, SIGNAL(activate(const Opie::ODeviceButton*,bool)), this,SIGNAL(activate(const Opie::ODeviceButton*,bool))); - connect( kf, SIGNAL(power()), this, SLOT(togglePower()) ); + connect( kf, SIGNAL(backlight()), this, SLOT(toggleLight()) ); connect( this, SIGNAL(power() ), -- cgit v0.9.0.2