Fix tests on macOS and update coverage config (#6945)

Simplifies coverage generation and uses llvm-cov instead of gcov if
compiler is clang.
This commit is contained in:
Janek Bevendorff
2021-09-26 12:35:42 +02:00
committed by GitHub
parent eeba485f95
commit a46231a39a
5 changed files with 186 additions and 235 deletions

View File

@@ -51,9 +51,9 @@ PasswordEdit::PasswordEdit(QWidget* parent)
// Prevent conflicts with global Mac shortcuts (force Control on all platforms)
#ifdef Q_OS_MAC
auto modifier = Qt::META;
constexpr auto modifier = Qt::MetaModifier;
#else
auto modifier = Qt::CTRL;
constexpr auto modifier = Qt::ControlModifier;
#endif
m_toggleVisibleAction = new QAction(