equal
deleted
inserted
replaced
18 // System includes |
18 // System includes |
19 |
19 |
20 // User includes |
20 // User includes |
21 |
21 |
22 #include "wlansnifferservice.h" |
22 #include "wlansnifferservice.h" |
|
23 #include <xqaiwdecl.h> |
23 |
24 |
24 #include "OstTraceDefinitions.h" |
25 #include "OstTraceDefinitions.h" |
25 #ifdef OST_TRACE_COMPILER_IN_USE |
26 #ifdef OST_TRACE_COMPILER_IN_USE |
26 #include "wlansnifferserviceTraces.h" |
27 #include "wlansnifferserviceTraces.h" |
27 #endif |
28 #endif |
115 |
116 |
116 // There must be a valid request info object |
117 // There must be a valid request info object |
117 Q_ASSERT(info.isValid()); |
118 Q_ASSERT(info.isValid()); |
118 |
119 |
119 // Extract the title |
120 // Extract the title |
120 // TODO: Start using the official define when available |
121 QVariant titleInfo = info.info(XQINFO_KEY_WINDOW_TITLE); |
121 QVariant titleInfo = info.info("WindowTitle"); |
|
122 QString title = titleInfo.toString(); |
122 QString title = titleInfo.toString(); |
123 |
123 |
124 OstTraceFunctionExit0(WLANSNIFFERSERVICE_TITLE_EXIT); |
124 OstTraceFunctionExit0(WLANSNIFFERSERVICE_TITLE_EXIT); |
125 return title; |
125 return title; |
126 } |
126 } |