1
0
Fork 0
forked from len0rd/rockbox

rbutil: add a errorlog function into rbutil and the possibility to save a log if a error happens. (thanks to bluebrother for the trace functionality)

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@22329 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Dominik Wenger 2009-08-15 17:02:25 +00:00
parent 2402aecbb5
commit 426bfa8d03
13 changed files with 400 additions and 94 deletions

View file

@ -20,13 +20,17 @@
#include <QtGui>
#include "rbutilqt.h"
#include "systrace.h"
#ifdef STATIC
#include <QtPlugin>
Q_IMPORT_PLUGIN(qtaccessiblewidgets)
#endif
int main( int argc, char ** argv ) {
qInstallMsgHandler(SysTrace::debug);
QApplication app( argc, argv );
#if defined(Q_OS_MAC)
QDir dir(QApplication::applicationDirPath());