mirror of
https://github.com/arsenetar/dupeguru.git
synced 2026-01-22 14:41:39 +00:00
Fixed linux-specific crashes and glitches.
This commit is contained in:
@@ -85,7 +85,7 @@ class PreferencesDialog(PreferencesDialogBase):
|
||||
if sys.platform == 'linux2':
|
||||
# Under linux, whether it's a Qt layout bug or something else, the size threshold text edit
|
||||
# doesn't have enough space, so we make the pref pane higher to compensate.
|
||||
self.resize(self.width(), 400)
|
||||
self.resize(self.width(), 480)
|
||||
|
||||
def _load(self, prefs, setchecked):
|
||||
scan_type_index = SCAN_TYPE_ORDER.index(prefs.scan_type)
|
||||
@@ -120,4 +120,4 @@ if __name__ == '__main__':
|
||||
dgapp = TestApp()
|
||||
dialog = PreferencesDialog(None, dgapp)
|
||||
dialog.show()
|
||||
sys.exit(app.exec_())
|
||||
sys.exit(app.exec_())
|
||||
|
||||
Reference in New Issue
Block a user