mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 20:55:17 -05:00
Move manual tab contents to separate widget.
Create a new widget which holds the contents of the manual tab and its logic. Unify its display / download code. Fixes FS#12587, which was caused by duplicated code. Change-Id: I5721d2a95ebeaf80481c1fd149eda22cf1328501
This commit is contained in:
parent
3933afcc09
commit
f7fdf13468
8 changed files with 317 additions and 190 deletions
|
|
@ -32,6 +32,7 @@
|
|||
#include "zipinstaller.h"
|
||||
#include "progressloggergui.h"
|
||||
#include "bootloaderinstallbase.h"
|
||||
#include "manualwidget.h"
|
||||
|
||||
class RbUtilQt : public QMainWindow
|
||||
{
|
||||
|
|
@ -43,6 +44,7 @@ class RbUtilQt : public QMainWindow
|
|||
static bool chkConfig(QWidget *parent = 0);
|
||||
|
||||
private:
|
||||
ManualWidget *manual;
|
||||
Ui::RbUtilQtFrm ui;
|
||||
|
||||
void changeEvent(QEvent *e);
|
||||
|
|
@ -55,7 +57,6 @@ class RbUtilQt : public QMainWindow
|
|||
QString absolutePath;
|
||||
QTemporaryFile buildInfo;
|
||||
QTemporaryFile bleedingInfo;
|
||||
void updateManual(void);
|
||||
ProgressLoggerGui *logger;
|
||||
ZipInstaller *installer;
|
||||
QUrl proxy(void);
|
||||
|
|
@ -109,7 +110,6 @@ class RbUtilQt : public QMainWindow
|
|||
void installThemes(void);
|
||||
void uninstall(void);
|
||||
void uninstallBootloader(void);
|
||||
void downloadManual(void);
|
||||
void installPortable(void);
|
||||
void updateInfo(void);
|
||||
void updateTabs(int);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue