2962 |
2962 |
2963 @param url URL to be shown (QUrl) |
2963 @param url URL to be shown (QUrl) |
2964 """ |
2964 """ |
2965 if not self.__activating: |
2965 if not self.__activating: |
2966 self.__activating = True |
2966 self.__activating = True |
2967 self.currentBrowser().setUrl(url) |
2967 cb = self.currentBrowser() |
|
2968 if cb is None: |
|
2969 self.newTab(url) |
|
2970 else: |
|
2971 cb.setUrl(url) |
2968 self.__activating = False |
2972 self.__activating = False |
2969 |
2973 |
2970 def __activateCurrentBrowser(self): |
2974 def __activateCurrentBrowser(self): |
2971 """ |
2975 """ |
2972 Private slot to activate the current browser. |
2976 Private slot to activate the current browser. |