forked from len0rd/rockbox
Fix C++11 compile error with version strings.
C++11 requires a space between literal and identifier. When compiling with Qt 5.6 on OS X C++11 support is automatically enabled, causing an error due to this. Change-Id: Ifbedc894a3cef23fc67ed1da75558e92e44d1077
This commit is contained in:
parent
ece9303c2b
commit
7cc6d85df9
2 changed files with 2 additions and 2 deletions
|
|
@ -86,7 +86,7 @@ RbUtilQt::RbUtilQt(QWidget *parent) : QMainWindow(parent)
|
||||||
|
|
||||||
QString c = RbSettings::value(RbSettings::CachePath).toString();
|
QString c = RbSettings::value(RbSettings::CachePath).toString();
|
||||||
HttpGet::setGlobalCache(c.isEmpty() ? QDir::tempPath() : c);
|
HttpGet::setGlobalCache(c.isEmpty() ? QDir::tempPath() : c);
|
||||||
HttpGet::setGlobalUserAgent("rbutil/"VERSION);
|
HttpGet::setGlobalUserAgent("rbutil/" VERSION);
|
||||||
HttpGet::setGlobalProxy(proxy());
|
HttpGet::setGlobalProxy(proxy());
|
||||||
// init startup & autodetection
|
// init startup & autodetection
|
||||||
ui.setupUi(this);
|
ui.setupUi(this);
|
||||||
|
|
|
||||||
|
|
@ -40,5 +40,5 @@
|
||||||
// PUREVERSION should identify the build uniquely. Use version string for now.
|
// PUREVERSION should identify the build uniquely. Use version string for now.
|
||||||
#define PUREVERSION "$Rev$"
|
#define PUREVERSION "$Rev$"
|
||||||
|
|
||||||
#define FULLVERSION VERSION" ("PUREVERSION"), built "__DATE__" "__TIME__
|
#define FULLVERSION VERSION " (" PUREVERSION "), built " __DATE__ " " __TIME__
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue