Fix profile settings
This commit is contained in:
parent
633b8f9561
commit
f7c0e7ce23
1 changed files with 6 additions and 4 deletions
|
@ -194,8 +194,9 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||
|
||||
self.actionAdd_friend = QtWidgets.QAction(window)
|
||||
self.actionAdd_friend.setObjectName("actionAdd_friend")
|
||||
self.actionprofilesettings = QtWidgets.QAction(window)
|
||||
self.actionprofilesettings.setObjectName("actionprofilesettings")
|
||||
|
||||
self.actionProfile_settings = QtWidgets.QAction(window)
|
||||
self.actionProfile_settings.setObjectName("actionProfile_settings")
|
||||
self.actionPrivacy_settings = QtWidgets.QAction(window)
|
||||
self.actionPrivacy_settings.setObjectName("actionPrivacy_settings")
|
||||
self.actionInterface_settings = QtWidgets.QAction(window)
|
||||
|
@ -236,6 +237,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||
self.menuGC.addAction(self.createGC)
|
||||
self.menuGC.addAction(self.joinGC)
|
||||
self.menuGC.addAction(self.gc_invites)
|
||||
self.menuSettings.addAction(self.actionProfile_settings)
|
||||
self.menuSettings.addAction(self.actionPrivacy_settings)
|
||||
self.menuSettings.addAction(self.actionInterface_settings)
|
||||
self.menuSettings.addAction(self.actionNotifications)
|
||||
|
@ -269,7 +271,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||
self.actionAdd_friend.triggered.connect(self.add_contact_triggered)
|
||||
self.createGC.triggered.connect(self.create_gc)
|
||||
self.joinGC.triggered.connect(self.join_gc)
|
||||
self.actionSettings.triggered.connect(self.profile_settings)
|
||||
self.actionProfile_settings.triggered.connect(self.profile_settings)
|
||||
self.actionPrivacy_settings.triggered.connect(self.privacy_settings)
|
||||
self.actionInterface_settings.triggered.connect(self.interface_settings)
|
||||
self.actionNotifications.triggered.connect(self.notification_settings)
|
||||
|
@ -311,7 +313,7 @@ class MainWindow(QtWidgets.QMainWindow):
|
|||
self.createGC.setText(util_ui.tr("Create group chat"))
|
||||
self.joinGC.setText(util_ui.tr("Join group chat"))
|
||||
self.gc_invites.setText(util_ui.tr("Group invites"))
|
||||
self.actionprofilesettings.setText(util_ui.tr("Profile"))
|
||||
self.actionProfile_settings.setText(util_ui.tr("Profile"))
|
||||
self.actionPrivacy_settings.setText(util_ui.tr("Privacy"))
|
||||
self.actionInterface_settings.setText(util_ui.tr("Interface"))
|
||||
self.actionNotifications.setText(util_ui.tr("Notifications"))
|
||||
|
|
Loading…
Reference in a new issue