1087 Private slot to handle the finished signal of the lrelease process. |
1087 Private slot to handle the finished signal of the lrelease process. |
1088 |
1088 |
1089 @param exitCode exit code of the process (integer) |
1089 @param exitCode exit code of the process (integer) |
1090 @param exitStatus exit status of the process (QProcess.ExitStatus) |
1090 @param exitStatus exit status of the process (QProcess.ExitStatus) |
1091 """ |
1091 """ |
1092 self.lreleaseProcRunning = False |
|
1093 if exitStatus == QProcess.NormalExit and exitCode == 0: |
1092 if exitStatus == QProcess.NormalExit and exitCode == 0: |
1094 ui = e5App().getObject("UserInterface") |
1093 ui = e5App().getObject("UserInterface") |
1095 if ui.notificationsEnabled(): |
1094 if ui.notificationsEnabled(): |
1096 ui.showNotification(UI.PixmapCache.getPixmap("linguist48.png"), |
1095 ui.showNotification(UI.PixmapCache.getPixmap("linguist48.png"), |
1097 self.trUtf8("Translation file release"), |
1096 self.trUtf8("Translation file release"), |