7191:960850ec284c | 7192:a22eee00b052 |
---|---|
6 """ | 6 """ |
7 Module implementing a dialog to show the stashes. | 7 Module implementing a dialog to show the stashes. |
8 """ | 8 """ |
9 | 9 |
10 from __future__ import unicode_literals | 10 from __future__ import unicode_literals |
11 try: | |
12 str = unicode | |
13 except NameError: | |
14 pass | |
15 | 11 |
16 import os | 12 import os |
17 | 13 |
18 from PyQt5.QtCore import pyqtSlot, Qt, QPoint, QProcess, QTimer | 14 from PyQt5.QtCore import pyqtSlot, Qt, QPoint, QProcess, QTimer |
19 from PyQt5.QtGui import QCursor | 15 from PyQt5.QtGui import QCursor |
22 | 18 |
23 from E5Gui import E5MessageBox | 19 from E5Gui import E5MessageBox |
24 | 20 |
25 from .Ui_GitStashBrowserDialog import Ui_GitStashBrowserDialog | 21 from .Ui_GitStashBrowserDialog import Ui_GitStashBrowserDialog |
26 | 22 |
27 from .GitUtilities import strToQByteArray | |
28 | |
29 import Preferences | 23 import Preferences |
24 from Globals import strToQByteArray | |
30 | 25 |
31 | 26 |
32 class GitStashBrowserDialog(QWidget, Ui_GitStashBrowserDialog): | 27 class GitStashBrowserDialog(QWidget, Ui_GitStashBrowserDialog): |
33 """ | 28 """ |
34 Class implementing a dialog to show the stashes. | 29 Class implementing a dialog to show the stashes. |