diff options
| author | Elvis Angelaccio <[email protected]> | 2019-01-28 22:38:21 +0100 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2019-01-28 22:38:21 +0100 |
| commit | 8bc93b564c283a677e02dc2ac71b40b63a990e38 (patch) | |
| tree | b0838ad5e265d42dd5da7f8ff58532aac95daca4 /src/settings/general/confirmationssettingspage.h | |
| parent | 52c019c9cbf679af5c24438bbe840ef890ae3f92 (diff) | |
Introduce HAVE_TERMINAL
Source code should check for features detected during configure-time,
rather than checking for a specific OS.
See also commit 87e8d0ba5f.
Diffstat (limited to 'src/settings/general/confirmationssettingspage.h')
| -rw-r--r-- | src/settings/general/confirmationssettingspage.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/settings/general/confirmationssettingspage.h b/src/settings/general/confirmationssettingspage.h index a96af554d..52b101b2a 100644 --- a/src/settings/general/confirmationssettingspage.h +++ b/src/settings/general/confirmationssettingspage.h @@ -19,6 +19,7 @@ #ifndef CONFIRMATIONSSETTINGSPAGE_H #define CONFIRMATIONSSETTINGSPAGE_H +#include "config-terminal.h" #include "settings/settingspagebase.h" class QCheckBox; @@ -48,9 +49,9 @@ private: QCheckBox* m_confirmEmptyTrash; QCheckBox* m_confirmDelete; - #ifndef Q_OS_WIN +#ifdef HAVE_TERMINAL QCheckBox* m_confirmClosingTerminalRunningProgram; - #endif +#endif QCheckBox* m_confirmClosingMultipleTabs; QCheckBox* m_confirmScriptExecution; |
