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

List:       kde-commits
Subject:    kdegraphics/kruler
From:       Till Krech <till () snafu ! de>
Date:       2002-11-06 9:37:28
[Download RAW message or body]

CVS commit by till: 

trivial fix to prevent a crash with so far unknown reason: disable the 4 orientation icons in popup.

-  oriMenu->insertItem(UserIconSet("kruler-north"), i18n("&North"), this, SLOT(setNorth()), Key_N);
-  oriMenu->insertItem(UserIconSet("kruler-east"), i18n("&East"), this, SLOT(setEast()), Key_E);
-  oriMenu->insertItem(UserIconSet("kruler-south"), i18n("&South"), this, SLOT(setSouth()), Key_S);
-  oriMenu->insertItem(UserIconSet("kruler-west"), i18n("&West"), this, SLOT(setWest()), Key_W);
+// disabled for now the icons because it crashes :-(
+//  oriMenu->insertItem(UserIconSet("kruler-north"), i18n("&North"), this, SLOT(setNorth()), Key_N);
+//  oriMenu->insertItem(UserIconSet("kruler-east"), i18n("&East"), this, SLOT(setEast()), Key_E);
+//  oriMenu->insertItem(UserIconSet("kruler-south"), i18n("&South"), this, SLOT(setSouth()), Key_S);
+//  oriMenu->insertItem(UserIconSet("kruler-west"), i18n("&West"), this, SLOT(setWest()), Key_W);
+  oriMenu->insertItem(i18n("&North"), this, SLOT(setNorth()), Key_N);
+  oriMenu->insertItem(i18n("&East"), this, SLOT(setEast()), Key_E);
+  oriMenu->insertItem(i18n("&South"), this, SLOT(setSouth()), Key_S);
+  oriMenu->insertItem(i18n("&West"), this, SLOT(setWest()), Key_W);


  M +9 -4      klineal.cpp   1.19

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

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