mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-10-14 02:27:39 -04:00
Show Qt version number in Sysinfo dialog and in startup debug output.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@21194 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
ac30b53cd3
commit
fe72c890a7
2 changed files with 7 additions and 0 deletions
|
@ -174,6 +174,7 @@ QString Detect::osVersionString(void)
|
||||||
result = QString("CPU: %1<br/>System: %2<br/>Release: %3<br/>Version: %4")
|
result = QString("CPU: %1<br/>System: %2<br/>Release: %3<br/>Version: %4")
|
||||||
.arg(u.machine).arg(u.sysname).arg(u.release).arg(u.version);
|
.arg(u.machine).arg(u.sysname).arg(u.release).arg(u.version);
|
||||||
#endif
|
#endif
|
||||||
|
result += QString("<br/>Qt version %1").arg(qVersion());
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -59,6 +59,12 @@
|
||||||
|
|
||||||
RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
|
RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
|
||||||
{
|
{
|
||||||
|
// startup log
|
||||||
|
qDebug() << "======================================";
|
||||||
|
qDebug() << "[System] Rockbox Utility " VERSION;
|
||||||
|
qDebug() << "[System] Qt version:" << qVersion();
|
||||||
|
qDebug() << "======================================";
|
||||||
|
|
||||||
absolutePath = qApp->applicationDirPath();
|
absolutePath = qApp->applicationDirPath();
|
||||||
|
|
||||||
HttpGet::setGlobalUserAgent("rbutil/"VERSION);
|
HttpGet::setGlobalUserAgent("rbutil/"VERSION);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue