From: APTX Date: Thu, 30 May 2013 21:16:42 +0000 (+0200) Subject: Compile fixes. X-Git-Url: https://gitweb.tyo.aptx.org/?a=commitdiff_plain;h=62a853bbb7476cda8c5a51b61480c99054bc2ae6;p=localmylist.git Compile fixes. --- diff --git a/localmylist/messagehandler.cpp b/localmylist/messagehandler.cpp index 6fda72a..cffdcbd 100644 --- a/localmylist/messagehandler.cpp +++ b/localmylist/messagehandler.cpp @@ -11,7 +11,7 @@ namespace LocalMyList { * When set to true, messageHandler will print context information * if available. */ -static bool DETAILED_DEBUG_CONTEXT = true; +bool DETAILED_DEBUG_CONTEXT = true; const char *messageType2Str(QtMsgType type) { diff --git a/localmylist/messagehandler.h b/localmylist/messagehandler.h index ed33e12..f2404a4 100644 --- a/localmylist/messagehandler.h +++ b/localmylist/messagehandler.h @@ -2,7 +2,7 @@ #define MESSAGEHANDLER_H namespace LocalMyList { - extern static bool DETAILED_DEBUG_CONTEXT; + extern bool DETAILED_DEBUG_CONTEXT; void installMessageHandler(); } // namespace LocalMyList