Skip to content

Commit

Permalink
fixed an integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Oct 23, 2016
1 parent 4a7ec56 commit 260b9f5
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/widgets/logwidget.cpp
Expand Up @@ -223,7 +223,12 @@ LogWidget * LogWidget::createInstance(QWidget *parent) {
void LogWidget::logMessageOutput(
QtMsgType type, const QMessageLogContext &context, const QString &msg) {
QByteArray localMsg = msg.toLocal8Bit();

#ifndef INTEGRATION_TESTS
bool loggingEnabled = qApp->property("loggingEnabled").toBool();
#else
bool loggingEnabled = false;
#endif

switch (type) {
case QtDebugMsg:
Expand Down

0 comments on commit 260b9f5

Please sign in to comment.