Fixed windows-specific crash in pref panel under Qt.

This commit is contained in:
Virgil Dupras 2011-01-23 14:49:59 +00:00
parent 8175762e74
commit 6fc7e5ace1
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ class PreferencesDialogBase(QDialog):
self.buttonBox.setStandardButtons(QDialogButtonBox.Cancel|QDialogButtonBox.Ok|QDialogButtonBox.RestoreDefaults)
self.mainVLayout.addWidget(self.buttonBox)
if sys.platform not in {'darwin', 'linux2'}:
self.verticalLayout.removeWidget(self.ignoreHardlinkMatches)
self.mainVLayout.removeWidget(self.ignoreHardlinkMatches)
self.ignoreHardlinkMatches.setHidden(True)
def _load(self, prefs, setchecked):