Fix broken macOS check (#690)

This commit is contained in:
luk1337 2024-09-30 20:52:55 +02:00 committed by GitHub
parent 0cb4df01f6
commit 4f1fe8d275
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -1480,7 +1480,7 @@ class MainWindow(QtWidgets.QMainWindow):
self.listTreeView.setSelectionBehavior(QtWidgets.QAbstractItemView.SelectRows)
self.listTreeView.customContextMenuRequested.connect(self.openRoomMenu)
window.listlabel = QtWidgets.QLabel(getMessage("userlist-heading-label"))
if isMacOS:
if isMacOS():
window.listlabel.setMinimumHeight(21)
window.sslButton = QtWidgets.QPushButton(QtGui.QPixmap(resourcespath + 'lock_green.png').scaled(14, 14),"")
window.sslButton.setVisible(False)