Remove DEBUG define

This commit is contained in:
Jonas Kvinge
2021-03-16 17:12:44 +01:00
parent f5bb15f72e
commit 0ef26be03f
3 changed files with 1 additions and 7 deletions

View File

@@ -24,7 +24,6 @@
#define CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}"
#define CMAKE_EXECUTABLE_SUFFIX "${CMAKE_EXECUTABLE_SUFFIX}"
#cmakedefine DEBUG
#cmakedefine HAVE_BACKTRACE
#cmakedefine HAVE_GIO
#cmakedefine HAVE_DBUS

View File

@@ -233,7 +233,7 @@ int main(int argc, char* argv[]) {
Q_INIT_RESOURCE(translations);
#endif
#ifdef DEBUG
#ifndef QT_NO_DEBUG_OUTPUT
QLoggingCategory::defaultCategory()->setEnabled(QtDebugMsg, true);
#endif