Small CrashDialog improvements

This commit is contained in:
Florian Bruhin 2014-01-30 21:32:31 +01:00
parent 2c276b98a4
commit 5366186dd1

View File

@ -19,20 +19,20 @@ class CrashDialog(QDialog):
vbox = QVBoxLayout() vbox = QVBoxLayout()
lbl = QLabel(self) lbl = QLabel(self)
#lbl.setGeometry(5, 5, 395, 295)
lbl.setText( lbl.setText(
'Argh! qutebrowser crashed unexpectedly.<br/>' 'Argh! qutebrowser crashed unexpectedly.<br/>'
'Please review the info below to remove sensitive data and then ' 'Please review the info below to remove sensitive data and then '
'submit it to ' 'submit it to '
'<a href="mailto:me@the-compiler.org">me@the-compiler.org</a>.' '<a href="mailto:qutebrowser@the-compiler.org">'
'<br/><br/>You can click "Restore tabs" to attempt to reopen your ' 'qutebrowser@the-compiler.org</a>.<br/><br/>'
'open pages.' 'You can click "Restore tabs" to attempt to reopen your '
'open tabs.'
) )
lbl.setWordWrap(True)
vbox.addWidget(lbl) vbox.addWidget(lbl)
txt = QTextEdit(self) txt = QTextEdit(self)
txt.setReadOnly(True) txt.setReadOnly(True)
#txt.setGeometry(5, 400, 395, 295)
txt.setText( txt.setText(
'==== Version info ====\n{}\n\n'.format(utils.version()) + '==== Version info ====\n{}\n\n'.format(utils.version()) +
'==== Exception ====\n{}\n'.format( '==== Exception ====\n{}\n'.format(