summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDominik Riebeling <Dominik.Riebeling@gmail.com>2008-10-24 21:23:18 +0000
committerDominik Riebeling <Dominik.Riebeling@gmail.com>2008-10-24 21:23:18 +0000
commit637146017289dd394a6f68327c56867fa8747dc5 (patch)
treef1a72c8bff37b99802af195e1b4cace366269e7b
parentdb058c3c8f90cabb6773df00687832d1fbe35862 (diff)
downloadrockbox-637146017289dd394a6f68327c56867fa8747dc5.tar.gz
rockbox-637146017289dd394a6f68327c56867fa8747dc5.tar.bz2
rockbox-637146017289dd394a6f68327c56867fa8747dc5.zip
Make uninstallation class use QtCore instead of QtGui -- it doesn't use any GUI elements. Move class to the QtCore-only base folder.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@18872 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--rbutil/rbutilqt/base/uninstall.cpp (renamed from rbutil/rbutilqt/uninstall.cpp)2
-rw-r--r--rbutil/rbutilqt/base/uninstall.h (renamed from rbutil/rbutilqt/uninstall.h)5
-rw-r--r--rbutil/rbutilqt/rbutilqt.pro4
3 files changed, 5 insertions, 6 deletions
diff --git a/rbutil/rbutilqt/uninstall.cpp b/rbutil/rbutilqt/base/uninstall.cpp
index fda802f445..ae5ece7da5 100644
--- a/rbutil/rbutilqt/uninstall.cpp
+++ b/rbutil/rbutilqt/base/uninstall.cpp
@@ -17,6 +17,7 @@
*
****************************************************************************/
+#include <QtCore>
#include "uninstall.h"
#include "utils.h"
@@ -125,3 +126,4 @@ bool Uninstaller::uninstallPossible()
{
return QFileInfo(m_mountpoint +"/.rockbox/rbutil.log").exists();
}
+
diff --git a/rbutil/rbutilqt/uninstall.h b/rbutil/rbutilqt/base/uninstall.h
index 047eb2a154..34faf9a4d7 100644
--- a/rbutil/rbutilqt/uninstall.h
+++ b/rbutil/rbutilqt/base/uninstall.h
@@ -23,10 +23,7 @@
#ifndef UNINSTALL_H
#define UNINSTALL_H
-
-
-#include <QtGui>
-
+#include <QtCore>
#include "progressloggerinterface.h"
diff --git a/rbutil/rbutilqt/rbutilqt.pro b/rbutil/rbutilqt/rbutilqt.pro
index 759f834ce4..9fc74da25a 100644
--- a/rbutil/rbutilqt/rbutilqt.pro
+++ b/rbutil/rbutilqt/rbutilqt.pro
@@ -59,7 +59,7 @@ SOURCES += rbutilqt.cpp \
../sansapatcher/sansapatcher.c \
browsedirtree.cpp \
installthemes.cpp \
- uninstall.cpp \
+ base/uninstall.cpp \
uninstallwindow.cpp \
base/utils.cpp \
preview.cpp \
@@ -111,7 +111,7 @@ HEADERS += rbutilqt.h \
irivertools/h300sums.h \
browsedirtree.h \
installthemes.h \
- uninstall.h \
+ base/uninstall.h \
uninstallwindow.h \
base/utils.h \
preview.h \