363 """ |
363 """ |
364 Private slot to show the history dialog. |
364 Private slot to show the history dialog. |
365 """ |
365 """ |
366 from .HistoryDialog import HistoryDialog |
366 from .HistoryDialog import HistoryDialog |
367 dlg = HistoryDialog(self) |
367 dlg = HistoryDialog(self) |
368 dlg.setAttribute(Qt.WA_DeleteOnClose) |
|
369 dlg.newUrl.connect(self.newUrl) |
368 dlg.newUrl.connect(self.newUrl) |
370 dlg.openUrl.connect(self.openUrl) |
369 dlg.openUrl.connect(self.openUrl) |
371 dlg.show() |
370 dlg.show() |
372 |
371 |
373 def __clearHistoryDialog(self): |
372 def __clearHistoryDialog(self): |