mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-09 05:05:20 -05:00
Save System Trace on exit and allow easy retrieval after restart.
The System Trace isn't preserved when quitting Rockbox Utility. Change this so the last trace is saved in the cache folder, and add a button to the trace window to allow easy saving it. Should help in cases where users have problems but restart Rockbox Utility before saving the trace. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@25313 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
492fafe879
commit
56199d3dfb
4 changed files with 86 additions and 41 deletions
|
|
@ -31,14 +31,15 @@ class SysTrace : public QDialog
|
|||
public:
|
||||
SysTrace(QWidget *parent);
|
||||
static void debug(QtMsgType type, const char* msg);
|
||||
|
||||
static QString getTrace() {return debugbuffer;}
|
||||
static void save(QString filename = "");
|
||||
private:
|
||||
Ui::SysTraceFrm ui;
|
||||
static QString debugbuffer;
|
||||
|
||||
private slots:
|
||||
void save(void);
|
||||
void saveCurrentTrace(void);
|
||||
void savePreviousTrace(void);
|
||||
void refresh(void);
|
||||
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue