forked from len0rd/rockbox
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
This commit is contained in:
parent
db058c3c8f
commit
6371460172
3 changed files with 5 additions and 6 deletions
|
|
@ -17,6 +17,7 @@
|
||||||
*
|
*
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
|
#include <QtCore>
|
||||||
#include "uninstall.h"
|
#include "uninstall.h"
|
||||||
#include "utils.h"
|
#include "utils.h"
|
||||||
|
|
||||||
|
|
@ -125,3 +126,4 @@ bool Uninstaller::uninstallPossible()
|
||||||
{
|
{
|
||||||
return QFileInfo(m_mountpoint +"/.rockbox/rbutil.log").exists();
|
return QFileInfo(m_mountpoint +"/.rockbox/rbutil.log").exists();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -23,10 +23,7 @@
|
||||||
#ifndef UNINSTALL_H
|
#ifndef UNINSTALL_H
|
||||||
#define UNINSTALL_H
|
#define UNINSTALL_H
|
||||||
|
|
||||||
|
#include <QtCore>
|
||||||
|
|
||||||
#include <QtGui>
|
|
||||||
|
|
||||||
|
|
||||||
#include "progressloggerinterface.h"
|
#include "progressloggerinterface.h"
|
||||||
|
|
||||||
|
|
@ -59,7 +59,7 @@ SOURCES += rbutilqt.cpp \
|
||||||
../sansapatcher/sansapatcher.c \
|
../sansapatcher/sansapatcher.c \
|
||||||
browsedirtree.cpp \
|
browsedirtree.cpp \
|
||||||
installthemes.cpp \
|
installthemes.cpp \
|
||||||
uninstall.cpp \
|
base/uninstall.cpp \
|
||||||
uninstallwindow.cpp \
|
uninstallwindow.cpp \
|
||||||
base/utils.cpp \
|
base/utils.cpp \
|
||||||
preview.cpp \
|
preview.cpp \
|
||||||
|
|
@ -111,7 +111,7 @@ HEADERS += rbutilqt.h \
|
||||||
irivertools/h300sums.h \
|
irivertools/h300sums.h \
|
||||||
browsedirtree.h \
|
browsedirtree.h \
|
||||||
installthemes.h \
|
installthemes.h \
|
||||||
uninstall.h \
|
base/uninstall.h \
|
||||||
uninstallwindow.h \
|
uninstallwindow.h \
|
||||||
base/utils.h \
|
base/utils.h \
|
||||||
preview.h \
|
preview.h \
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue