OpenSecurity/bin/opensecurity_tray.pyw
changeset 92 bc1255abd544
parent 90 bfd41c38d156
child 96 630b62946c9e
     1.1 --- a/OpenSecurity/bin/opensecurity_tray.pyw	Fri Mar 07 14:32:12 2014 +0100
     1.2 +++ b/OpenSecurity/bin/opensecurity_tray.pyw	Mon Mar 10 13:14:31 2014 +0100
     1.3 @@ -163,7 +163,7 @@
     1.4      app = QtGui.QApplication(sys.argv)
     1.5  
     1.6      # prebuild the pixmap cache: fetch all jpg, png and jpeg images and load them
     1.7 -    image_path = os.path.join(Environment("OpenSecurity").data_path, '..', 'gfx')
     1.8 +    image_path = os.path.join(Environment("OpenSecurity").data_path, 'gfx')
     1.9      for file in os.listdir(image_path):
    1.10          if file.lower().rpartition('.')[2] in ('jpg', 'png', 'jpeg'):
    1.11              QtGui.QPixmapCache.insert(file.lower().rpartition('.')[0], QtGui.QPixmap(os.path.join(image_path, file)))