--- a/wlanutilities/wlansniffer/wlansnifferapplication/src/wlansnifferservice.cpp Wed Aug 18 10:52:46 2010 +0300
+++ b/wlanutilities/wlansniffer/wlansnifferapplication/src/wlansnifferservice.cpp Thu Sep 02 21:36:44 2010 +0300
@@ -20,6 +20,7 @@
// User includes
#include "wlansnifferservice.h"
+#include <xqaiwdecl.h>
#include "OstTraceDefinitions.h"
#ifdef OST_TRACE_COMPILER_IN_USE
@@ -117,8 +118,7 @@
Q_ASSERT(info.isValid());
// Extract the title
- // TODO: Start using the official define when available
- QVariant titleInfo = info.info("WindowTitle");
+ QVariant titleInfo = info.info(XQINFO_KEY_WINDOW_TITLE);
QString title = titleInfo.toString();
OstTraceFunctionExit0(WLANSNIFFERSERVICE_TITLE_EXIT);