1
0
mirror of https://github.com/arsenetar/dupeguru.git synced 2024-11-15 19:59:02 +00:00

Merge heads.

This commit is contained in:
Virgil Dupras 2011-12-07 12:06:54 -05:00
commit f004535820

View File

@ -185,6 +185,12 @@ class DupeGuru(QObject):
#--- Events #--- Events
def finishedLaunching(self): def finishedLaunching(self):
self.model.initial_registration_setup() self.model.initial_registration_setup()
if sys.getfilesystemencoding() == 'ascii':
# No need to localize this, it's a debugging message.
msg = "Something is wrong with the way your system locale is set. If the files you're "\
"scanning have accented letters, you'll probably get a crash. It is advised that "\
"you set your system locale properly."
QMessageBox.warning(self.directories_dialog, "Wrong Locale", msg)
def application_will_terminate(self): def application_will_terminate(self):
self.willSavePrefs.emit() self.willSavePrefs.emit()