1
0
Fork 0
mirror of synced 2024-06-28 11:11:15 +12:00

GameSettings: Remove spacer from the bottom of linux settings

This commit is contained in:
Stelios Tsampas 2021-11-21 18:29:44 +02:00
parent c3defd3a9d
commit 000b6cf374
No known key found for this signature in database
GPG key ID: 2FAEBF7B5BE5FD7C

View file

@ -99,6 +99,13 @@ class GameSettings(QWidget, Ui_GameSettings):
self.proton_prefix_layout.addWidget(self.proton_prefix)
self.linux_settings = LinuxAppSettings()
# FIXME: Remove the spacerItem from the linux settings
# FIXME: This should be handled differently at soem point in the future
for item in [self.linux_settings.layout().itemAt(idx) for idx in range(self.linux_settings.layout().count())]:
if item.spacerItem():
self.linux_settings.layout().removeItem(item)
del item
# FIXME: End of FIXME
self.linux_layout.addWidget(self.linux_settings)
else:
self.proton_groupbox.setVisible(False)