8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtCore import pyqtSlot, Qt, QTimer, QCoreApplication |
10 from PyQt6.QtCore import pyqtSlot, Qt, QTimer, QCoreApplication |
11 from PyQt6.QtWidgets import QDialog, QMenu, QToolButton |
11 from PyQt6.QtWidgets import QDialog, QMenu, QToolButton |
12 |
12 |
13 from E5Gui import E5MessageBox |
13 from E5Gui import EricMessageBox |
14 |
14 |
15 from .Ui_AdBlockDialog import Ui_AdBlockDialog |
15 from .Ui_AdBlockDialog import Ui_AdBlockDialog |
16 |
16 |
17 import UI.PixmapCache |
17 import UI.PixmapCache |
18 import Preferences |
18 import Preferences |
239 if requiresTitles else |
239 if requiresTitles else |
240 self.tr( |
240 self.tr( |
241 "<p>Do you really want to remove subscription" |
241 "<p>Do you really want to remove subscription" |
242 " <b>{0}</b>?</p>").format(self.__currentSubscription.title()) |
242 " <b>{0}</b>?</p>").format(self.__currentSubscription.title()) |
243 ) |
243 ) |
244 res = E5MessageBox.yesNo( |
244 res = EricMessageBox.yesNo( |
245 self, |
245 self, |
246 self.tr("Remove Subscription"), |
246 self.tr("Remove Subscription"), |
247 message) |
247 message) |
248 |
248 |
249 if res: |
249 if res: |