From: Nguyễn Hồng Quân Date: Sun, 28 Oct 2012 05:23:36 +0000 (+0700) Subject: Change the debug directive. X-Git-Url: http://git.maemo.org/git/?p=mverbiste;a=commitdiff_plain;h=ada75f0266d4c88d53b97ebfa6d2215f98478ad5;hp=cc80761bdb1c9e1dd83d7713ec77e215051dc534 Change the debug directive. --- 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 -}