From ada75f0266d4c88d53b97ebfa6d2215f98478ad5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nguy=E1=BB=85n=20H=E1=BB=93ng=20Qu=C3=A2n?= Date: Sun, 28 Oct 2012 12:23:36 +0700 Subject: [PATCH] Change the debug directive. --- mainwindow.cpp | 3 --- mainwindow.h | 5 +++++ mverbiste.pro | 4 ---- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index f5a38aa..08bb3f9 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3,9 +3,6 @@ #include "gui/conjugation.h" #include -#ifdef DEBUG -#include -#endif MainWindow::MainWindow(QWidget *parent) : QMainWindow(parent), ui(new Ui::MainWindow) diff --git a/mainwindow.h b/mainwindow.h index b735747..f4ac2e1 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -16,6 +16,11 @@ #include #include #include "gui/conjugation.h" + +#ifndef QT_NO_DEBUG +#include +#endif + using namespace verbiste; namespace Ui { diff --git a/mverbiste.pro b/mverbiste.pro index bd51e44..24554c8 100644 --- a/mverbiste.pro +++ b/mverbiste.pro @@ -68,7 +68,3 @@ unix: PKGCONFIG += libxml-2.0 DEFINES += ICONV_CONST= # installPrefix must be explicitly exported from deployment.pri first DEFINES += LIBDATADIR=\\\"$${installPrefix}/data\\\" - -CONFIG(debug) { - DEFINES += DEBUG -} -- 1.7.9.5