Well, this is embarassing. Fix segfault reports.
This commit is contained in:
parent
4cd49d42cc
commit
952daf0479
@ -62,6 +62,7 @@ Fixed
|
||||
- Fixed very long filenames when downloading `data://`-URLs.
|
||||
- Fixed ugly UI fonts on Windows when Liberation Mono is installed
|
||||
- Fixed crash when unbinding key from a section which doesn't exist in the config
|
||||
- Fixed report window after a segfault
|
||||
|
||||
v0.5.1
|
||||
------
|
||||
|
@ -72,7 +72,7 @@ class CrashHandler(QObject):
|
||||
|
||||
def handle_segfault(self):
|
||||
"""Handle a segfault from a previous run."""
|
||||
data_dir = None
|
||||
data_dir = standarddir.data()
|
||||
if data_dir is None:
|
||||
return
|
||||
logname = os.path.join(data_dir, 'crash.log')
|
||||
|
Loading…
Reference in New Issue
Block a user