Commits

Anonymous committed 40b7745

working tray icon

Comments (0)

Files changed (1)

         Rad = importRad()
         self.rad = Rad()
         # and a tray icon
-        trayicon = KSystemTrayIcon(QIcon(self.rad.iconloader.loadIcon(programIcon(), 0)))
-        trayicon.show()
+        self.trayicon = KSystemTrayIcon(QIcon(self.rad.iconloader.loadIcon(programIcon(), 0)))
+        self.trayicon.show()
         
         self.connect(self, SIGNAL("shutDown()"), self.close)
         self.connect(self, SIGNAL("shutDown()"), self.quit)