summaryrefslogtreecommitdiffstats
path: root/rbutil/rbutilqt/irivertools
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-02-10 18:25:49 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-02-10 18:25:49 +0000
commitee09cb7f0d2635db0f01da1fb9a20dac07f357c9 (patch)
treefa53890548dd5b3bfee7ed609a25358543be4d8e /rbutil/rbutilqt/irivertools
parent7b8f4a534d71e6ca432c3a13bb2b1dd09ad052ed (diff)
downloadrockbox-ee09cb7f0d2635db0f01da1fb9a20dac07f357c9.tar.gz
rockbox-ee09cb7f0d2635db0f01da1fb9a20dac07f357c9.tar.bz2
rockbox-ee09cb7f0d2635db0f01da1fb9a20dac07f357c9.zip
Untie rbutil core logic from QtGui for cli:
- include QtCore instead of QtGui if possible - replace qApp with QCoreApplication::instance(), as qApp is only defined for QtGui - use QCoreApplication instead of QApplication for inherited static members. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16274 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'rbutil/rbutilqt/irivertools')
-rw-r--r--rbutil/rbutilqt/irivertools/irivertools.h2
-rw-r--r--rbutil/rbutilqt/irivertools/md5sum.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/rbutil/rbutilqt/irivertools/irivertools.h b/rbutil/rbutilqt/irivertools/irivertools.h
index b1fce826c1..d0d1de6730 100644
--- a/rbutil/rbutilqt/irivertools/irivertools.h
+++ b/rbutil/rbutilqt/irivertools/irivertools.h
@@ -22,7 +22,7 @@
#ifndef IRIVERTOOLS_H_INCLUDED
#define IRIVERTOOLS_H_INCLUDED
-#include <QtGui>
+#include <QtCore>
#include "md5sum.h"
#include "progressloggerinterface.h"
diff --git a/rbutil/rbutilqt/irivertools/md5sum.h b/rbutil/rbutilqt/irivertools/md5sum.h
index ed22bdbb49..a24c1a3989 100644
--- a/rbutil/rbutilqt/irivertools/md5sum.h
+++ b/rbutil/rbutilqt/irivertools/md5sum.h
@@ -31,7 +31,7 @@
#define uint32 unsigned long int
#endif
-#include <QtGui>
+#include <QtCore>
typedef struct
{