mirror of
https://github.com/olivierkes/manuskript.git
synced 2024-05-17 11:22:28 +12:00
Fix segmentation fault on import
Manuskript started to segmentation fault on import starting with Qt 5.11. I found the following link and the Qt bug links within to be useful in my trouble-shooting efforts. [Qt 5.11] Various Applications Segfault in 'libfm-qt' https://github.com/lxqt/libfm-qt/issues/164 Closes issue #402
This commit is contained in:
parent
026861ee87
commit
b0774b4149
|
@ -36,6 +36,7 @@ class importerDialog(QWidget, Ui_importer):
|
|||
|
||||
# Var
|
||||
self.mw = mw
|
||||
self.settingsWidget = None
|
||||
self.fileName = ""
|
||||
self.setStyleSheet(style.mainWindowSS())
|
||||
self.tree.setStyleSheet("QTreeView{background:transparent;}")
|
||||
|
@ -196,7 +197,7 @@ class importerDialog(QWidget, Ui_importer):
|
|||
|
||||
self.settingsWidget = generalSettings()
|
||||
#TODO: custom format widget
|
||||
self.settingsWidget = F.settingsWidget(self.settingsWidget)
|
||||
# self.settingsWidget = F.settingsWidget(self.settingsWidget)
|
||||
|
||||
# Set the settings widget in place
|
||||
self.setGroupWidget(self.grpSettings, self.settingsWidget)
|
||||
|
|
Loading…
Reference in a new issue