forked from len0rd/rockbox
If caching is disabled, still cache theme info and images in a temporary directory (which will be deleted once rbutil is closed) to prevent downling them every time the theme selection changes.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@14704 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
e6b8347a4d
commit
554f0c3771
7 changed files with 106 additions and 37 deletions
|
|
@ -34,13 +34,14 @@ class ThemesInstallWindow : public QDialog
|
|||
|
||||
public:
|
||||
ThemesInstallWindow(QWidget* parent = 0);
|
||||
~ThemesInstallWindow();
|
||||
void setDeviceSettings(QSettings*);
|
||||
void setUserSettings(QSettings *);
|
||||
void setProxy(QUrl);
|
||||
void downloadInfo(void);
|
||||
void show(void);
|
||||
void accept(void);
|
||||
|
||||
|
||||
public slots:
|
||||
|
||||
private:
|
||||
|
|
@ -59,7 +60,9 @@ class ThemesInstallWindow : public QDialog
|
|||
ZipInstaller *installer;
|
||||
QString file;
|
||||
QString fileName;
|
||||
|
||||
|
||||
QString infocachedir;
|
||||
|
||||
private slots:
|
||||
void downloadDone(bool);
|
||||
void downloadDone(int, bool);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue