eric7/Plugins/VcsPlugins/vcsGit/GitBlameDialog.py

branch
eric7
changeset 8356
68ec9c3d4de5
parent 8318
962bce857696
child 8358
144a6b854f70
equal deleted inserted replaced
8355:8a7677a63c8d 8356:68ec9c3d4de5
13 from PyQt6.QtCore import pyqtSlot, QProcess, QTimer, Qt, QCoreApplication 13 from PyQt6.QtCore import pyqtSlot, QProcess, QTimer, Qt, QCoreApplication
14 from PyQt6.QtWidgets import ( 14 from PyQt6.QtWidgets import (
15 QDialog, QDialogButtonBox, QHeaderView, QLineEdit, QTreeWidgetItem 15 QDialog, QDialogButtonBox, QHeaderView, QLineEdit, QTreeWidgetItem
16 ) 16 )
17 17
18 from E5Gui import E5MessageBox 18 from E5Gui import EricMessageBox
19 19
20 from .Ui_GitBlameDialog import Ui_GitBlameDialog 20 from .Ui_GitBlameDialog import Ui_GitBlameDialog
21 21
22 import Preferences 22 import Preferences
23 from Globals import strToQByteArray 23 from Globals import strToQByteArray
112 self.process.start('git', args) 112 self.process.start('git', args)
113 procStarted = self.process.waitForStarted(5000) 113 procStarted = self.process.waitForStarted(5000)
114 if not procStarted: 114 if not procStarted:
115 self.inputGroup.setEnabled(False) 115 self.inputGroup.setEnabled(False)
116 self.inputGroup.hide() 116 self.inputGroup.hide()
117 E5MessageBox.critical( 117 EricMessageBox.critical(
118 self, 118 self,
119 self.tr('Process Generation Error'), 119 self.tr('Process Generation Error'),
120 self.tr( 120 self.tr(
121 'The process {0} could not be started. ' 121 'The process {0} could not be started. '
122 'Ensure, that it is in the search path.' 122 'Ensure, that it is in the search path.'

eric ide

mercurial