diff options
author | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-02-10 18:25:49 +0000 |
---|---|---|
committer | Dominik Riebeling <Dominik.Riebeling@gmail.com> | 2008-02-10 18:25:49 +0000 |
commit | ee09cb7f0d2635db0f01da1fb9a20dac07f357c9 (patch) | |
tree | fa53890548dd5b3bfee7ed609a25358543be4d8e /rbutil/rbutilqt/progressloggerinterface.h | |
parent | 7b8f4a534d71e6ca432c3a13bb2b1dd09ad052ed (diff) |
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/progressloggerinterface.h')
-rw-r--r-- | rbutil/rbutilqt/progressloggerinterface.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/rbutil/rbutilqt/progressloggerinterface.h b/rbutil/rbutilqt/progressloggerinterface.h index 2f593540fe..a6ec9fb748 100644 --- a/rbutil/rbutilqt/progressloggerinterface.h +++ b/rbutil/rbutilqt/progressloggerinterface.h @@ -20,7 +20,7 @@ #ifndef PROGRESSLOGGERINTERFACE_H #define PROGRESSLOGGERINTERFACE_H -#include <QtGui> +#include <QtCore> enum { LOGNOICON, LOGOK, LOGINFO, LOGWARNING, LOGERROR |