mirror of
https://github.com/Kilian/Trimage.git
synced 2026-01-26 10:08:40 -05:00
fix indentation error for non-systemtray environments
this patch by Daniel Clemente and fixes an indentation error for non-systemtray environments.
This commit is contained in:
parent
a3bc8da5e6
commit
3b99c65a8c
1 changed files with 3 additions and 3 deletions
|
|
@ -210,9 +210,9 @@ class StartQT4(QMainWindow):
|
|||
if image.valid:
|
||||
delegatorlist.append(image)
|
||||
self.imagelist.append(ImageRow(image, self.compressing_icon))
|
||||
if QSystemTrayIcon.isSystemTrayAvailable() and not self.cli:
|
||||
self.systemtray.trayIcon.setToolTip("Trimage image compressor (" + str(len(self.imagelist)) + " files)")
|
||||
self.setWindowTitle("Trimage image compressor (" + str(len(self.imagelist)) + " files)")
|
||||
if QSystemTrayIcon.isSystemTrayAvailable() and not self.cli:
|
||||
self.systemtray.trayIcon.setToolTip("Trimage image compressor (" + str(len(self.imagelist)) + " files)")
|
||||
self.setWindowTitle("Trimage image compressor (" + str(len(self.imagelist)) + " files)")
|
||||
else:
|
||||
print >> sys.stderr, u"[error] %s not a supported image file and/or not writeable" % image.fullpath
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue