Commit 91f1a770 authored by Dan Pascu's avatar Dan Pascu

No longer set window icon text as it was deprectated in Qt5

parent 31570de4
...@@ -680,7 +680,6 @@ class ServerToolsWindow(base_class, ui_class): ...@@ -680,7 +680,6 @@ class ServerToolsWindow(base_class, ui_class):
with Resources.directory: with Resources.directory:
self.setupUi() self.setupUi()
self.setWindowTitle('Blink Server Tools') self.setWindowTitle('Blink Server Tools')
self.setWindowIconText('Server Tools')
self.setWindowIcon(QIcon(Resources.get('icons/blink48.png'))) self.setWindowIcon(QIcon(Resources.get('icons/blink48.png')))
self.model = model self.model = model
self.model.rowsInserted.connect(self._SH_ModelChanged) self.model.rowsInserted.connect(self._SH_ModelChanged)
......
...@@ -687,7 +687,6 @@ class GoogleAuthorizationView(QWebView): ...@@ -687,7 +687,6 @@ class GoogleAuthorizationView(QWebView):
super(GoogleAuthorizationView, self).__init__(parent) super(GoogleAuthorizationView, self).__init__(parent)
self.email = None self.email = None
self.setWindowTitle('Blink Google Authorization') self.setWindowTitle('Blink Google Authorization')
self.setWindowIconText('Blink Google Authorization')
self.setWindowIcon(QIcon(Resources.get('icons/blink48.png'))) self.setWindowIcon(QIcon(Resources.get('icons/blink48.png')))
self.selectionChanged.connect(self._SH_SelectionChanged) self.selectionChanged.connect(self._SH_SelectionChanged)
self.titleChanged.connect(self._SH_TitleChanged) self.titleChanged.connect(self._SH_TitleChanged)
......
...@@ -70,7 +70,6 @@ class MainWindow(base_class, ui_class): ...@@ -70,7 +70,6 @@ class MainWindow(base_class, ui_class):
self.setupUi() self.setupUi()
self.setWindowTitle('Blink') self.setWindowTitle('Blink')
self.setWindowIconText('Blink')
geometry = QSettings().value("main_window/geometry") geometry = QSettings().value("main_window/geometry")
if geometry: if geometry:
......
...@@ -190,7 +190,6 @@ class PreferencesWindow(base_class, ui_class): ...@@ -190,7 +190,6 @@ class PreferencesWindow(base_class, ui_class):
self.setupUi() self.setupUi()
self.setWindowTitle('Blink Preferences') self.setWindowTitle('Blink Preferences')
self.setWindowIconText('Blink Preferences')
self.account_list.setModel(account_model) self.account_list.setModel(account_model)
self.delete_account_button.setEnabled(False) self.delete_account_button.setEnabled(False)
......
...@@ -5192,11 +5192,9 @@ class IncomingRequest(QObject): ...@@ -5192,11 +5192,9 @@ class IncomingRequest(QObject):
if proposal: if proposal:
self.dialog.setWindowTitle(u'Incoming Session Update') self.dialog.setWindowTitle(u'Incoming Session Update')
self.dialog.setWindowIconText(u'Incoming Session Update')
self.dialog.busy_button.hide() self.dialog.busy_button.hide()
else: else:
self.dialog.setWindowTitle(u'Incoming Session Request') self.dialog.setWindowTitle(u'Incoming Session Request')
self.dialog.setWindowIconText(u'Incoming Session Request')
address = u'%s@%s' % (session.remote_identity.uri.user, session.remote_identity.uri.host) address = u'%s@%s' % (session.remote_identity.uri.user, session.remote_identity.uri.host)
self.dialog.uri_label.setText(address) self.dialog.uri_label.setText(address)
self.dialog.username_label.setText(contact.name or session.remote_identity.display_name or address) self.dialog.username_label.setText(contact.name or session.remote_identity.display_name or address)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment