OpenSecurity/bin/opensecurity_tray.pyw
changeset 96 630b62946c9e
parent 95 cdebb7e0ba10
parent 92 bc1255abd544
child 105 9cc91074deb8
child 110 490a78181935
     1.1 --- a/OpenSecurity/bin/opensecurity_tray.pyw	Tue Mar 18 16:28:15 2014 +0100
     1.2 +++ b/OpenSecurity/bin/opensecurity_tray.pyw	Tue Mar 18 16:31:47 2014 +0100
     1.3 @@ -161,7 +161,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)))