From kde-commits Sun Aug 31 23:58:59 2003 From: =?utf-8?q?Aaron=20J=2E=20Seigo?= Date: Sun, 31 Aug 2003 23:58:59 +0000 To: kde-commits Subject: kdetoys/kweather X-MARC-Message: https://marc.info/?l=kde-commits&m=106237441026174 CVS commit by aseigo: enable mouse tracking to we get to see the mouse over effects show the weather report window on button _click_ not _release_ M +3 -2 dockwidget.cpp 1.48 --- kdetoys/kweather/dockwidget.cpp #1.47:1.48 @@ -61,4 +61,5 @@ WeatherButton::WeatherButton( QWidget *p : QButton( parent, name ), m_highlight( false ) { + setMouseTracking(true); setBackgroundOrigin( AncestorOrigin ); slotSettingsChanged( KApplication::SETTINGS_MOUSE ); @@ -147,5 +148,5 @@ dockwidget::dockwidget(const QString &lo { initDock(); - connect(m_button, SIGNAL( released() ), SIGNAL( buttonClicked() )); + connect(m_button, SIGNAL( clicked() ), SIGNAL( buttonClicked() )); m_weatherService = new DCOPRef( "KWeatherService", "WeatherService" );