~ubuntu-branches/ubuntu/lucid/mythtv/lucid

« back to all changes in this revision

Viewing changes to libs/libmythui/jsmenu.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Mario Limonciello
  • Date: 2009-09-29 01:33:23 UTC
  • mto: This revision was merged to the branch mainline in revision 94.
  • Revision ID: james.westby@ubuntu.com-20090929013323-e6d2b5bzpg4t3t3x
Tags: upstream-0.22.0~trunk22101
ImportĀ upstreamĀ versionĀ 0.22.0~trunk22101

Show diffs side-by-side

added added

removed removed

Lines of Context:
21
21
**
22
22
**--------------------------------------------------------------------------*/
23
23
 
 
24
// Own header
 
25
#include "jsmenu.h"
 
26
 
24
27
// QT headers
25
28
#include <QApplication>
26
29
#include <QEvent>
43
46
#include "mythverbose.h"
44
47
 
45
48
// Mythui headers
46
 
#include "jsmenu.h"
47
49
#include "jsmenuevent.h"
48
50
 
49
51
#define LOC QString("JoystickMenuThread: ")
168
170
    {
169
171
        QString rawline = istream.readLine();
170
172
        QString simple_line = rawline.simplified();
171
 
        if (simple_line.isEmpty() || simple_line.startsWith("#"))
 
173
        if (simple_line.isEmpty() || simple_line.startsWith('#'))
172
174
            continue;
173
175
 
174
176
        QStringList tokens = simple_line.split(" ");