Skip to content

Commit

Permalink
MainTabWidget: Remove icon from account tab
Browse files Browse the repository at this point in the history
  • Loading branch information
loathingKernel committed Feb 21, 2024
1 parent 715ac06 commit 243b922
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rare/components/tabs/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,14 +48,14 @@ def __init__(self, parent):
self.setTabEnabled(space_index, False)
self.tab_bar.expanded = space_index
# Button
button_index = self.addTab(QWidget(self), qta_icon("mdi.account-circle", fallback="fa.user"), "")
button_index = self.addTab(QWidget(self), "")
self.setTabEnabled(button_index, False)

self.account_widget = AccountWidget(self)
self.account_widget.exit_app.connect(self.__on_exit_app)
account_action = QWidgetAction(self)
account_action.setDefaultWidget(self.account_widget)
account_button = TabButtonWidget(qta_icon("mdi.menu", fallback="fa.align-justify"), tooltip="Menu")
account_button = TabButtonWidget(qta_icon("mdi.account-circle", fallback="fa.user"), tooltip="Menu")
account_menu = QMenu(account_button)
account_menu.addAction(account_action)
account_button.setMenu(account_menu)
Expand Down

0 comments on commit 243b922

Please sign in to comment.