diff options
author | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-04-12 02:51:17 +0200 |
---|---|---|
committer | Jan Holthuis <jan.holthuis@ruhr-uni-bochum.de> | 2020-04-12 02:51:17 +0200 |
commit | 0e2950738b00653a9c53b00a56c1c44378ffe08a (patch) | |
tree | ab2fb2913b43960e4b81dc1a8d3949b4c503ca8d /src/errordialoghandler.h | |
parent | 712ced4f641cc77216e14d05abd31d1cf66d266a (diff) |
controllers/controllerengine: Use monospace font for script error details
Diffstat (limited to 'src/errordialoghandler.h')
-rw-r--r-- | src/errordialoghandler.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/errordialoghandler.h b/src/errordialoghandler.h index 3a1f028b6a..eb146ae2ff 100644 --- a/src/errordialoghandler.h +++ b/src/errordialoghandler.h @@ -68,8 +68,9 @@ class ErrorDialogProperties { } /** Set detailed text (causes "Show Details" button to appear.) */ - inline void setDetails(const QString& text) { + inline void setDetails(const QString& text, bool bUseMonospaceFont = false) { m_details = text; + m_detailsUseMonospaceFont = bUseMonospaceFont; } /** Set whether the box is modal (blocks the GUI) or not */ @@ -112,6 +113,7 @@ class ErrorDialogProperties { QString m_text; QString m_infoText; QString m_details; + bool m_detailsUseMonospaceFont; bool m_modal; bool m_shouldQuit; DialogType m_type; |