[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdetoys/kweather
From:       Enrico Ros <rosenric () dei ! unipd ! it>
Date:       2004-01-07 20:02:18
Message-ID: 20040107200218.231B293EA () office ! kde ! org
[Download RAW message or body]

CVS commit by eros: 

Assign different IDs to kpupupmenu items.
This fixes #72084 and part of 54247.

CCMAIL:72084-done@bugs.kde.org


  M +2 -2      kweather.cpp   1.84


--- kdetoys/kweather/kweather.cpp  #1.83:1.84
@@ -85,7 +85,7 @@ void kweather::initContextMenu()
     mContextMenu->insertTitle(i18n("KWeather - ") + reportLocation, -1, 0);
     mContextMenu->insertItem(SmallIcon("viewmag"), i18n("Show &Report"),
-        this, SLOT(doReport()), 0, 0, 1);
+        this, SLOT(doReport()), 0, -1, 1);
     mContextMenu->insertItem(SmallIcon("reload"), i18n("&Update Now"),
-        this, SLOT(slotUpdateNow()), 0, 0, 2);
+        this, SLOT(slotUpdateNow()), 0, -1, 2);
     mContextMenu->insertSeparator();
     mContextMenu->insertItem(i18n("&About KWeather"), this, SLOT(about()));


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic