>From 2bcd227d304140732dae17479d5d6c11dc85a4a8 Mon Sep 17 00:00:00 2001
From: Christophe Dumez <christophe.dumez@intel.com>
Date: Sat, 14 May 2011 15:46:29 +0300
Subject: [PATCH 4/7] Change versit plugin debug environment variable name

---
 versitplugin/edscontacthandlerdebug_p.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/versitplugin/edscontacthandlerdebug_p.h b/versitplugin/edscontacthandlerdebug_p.h
index 4d85595..84eab1f 100644
--- a/versitplugin/edscontacthandlerdebug_p.h
+++ b/versitplugin/edscontacthandlerdebug_p.h
@@ -23,8 +23,8 @@
 #include <QDebug>
 
 /*
- * To Enable debugging of EBook Versit plugin set QVERSITEBOOK_DEBUG env var
- * eg: export QCONTACT_EBOOK_DEBUG=1
+ * To Enable debugging of EBook Versit plugin set QVERSIT_EBOOK_DEBUG env var
+ * eg: export QVERSIT_EBOOK_DEBUG=1
  */
 
 extern bool QCM5_DEBUG_ENABLED;
@@ -37,7 +37,7 @@ extern bool QCM5_DEBUG_ENABLED;
 
 // Check env var and switch on/off debugging
 static inline void initDebugLogger() {
-  QCM5_DEBUG_ENABLED = !qgetenv("QVERSITEBOOK_DEBUG").isEmpty();
+  QCM5_DEBUG_ENABLED = !qgetenv("QVERSIT_EBOOK_DEBUG").isEmpty();
   QCM5_DEBUG << "Logging has been enabled";
 }
 
-- 
1.7.4.4

