mirror of
https://github.com/GoldenCheetah/GoldenCheetah.git
synced 2026-02-14 08:38:45 +00:00
API QT < 5.3 compatibility
.. map wDebug() to qWarning() instead of using QMessageLogger for backward compatibility
This commit is contained in:
@@ -25,7 +25,7 @@ DECLSPEC const char* getQtWebAppLibVersion();
|
||||
|
||||
/** wDebug() uses QT QMessageLogger but as info to log
|
||||
rather than interfering with normal qDebug usage **/
|
||||
#define wDebug QMessageLogger(QT_MESSAGELOG_FILE, QT_MESSAGELOG_LINE, QT_MESSAGELOG_FUNC).warning
|
||||
#define wDebug qWarning
|
||||
|
||||
#endif // HTTPGLOBAL_H
|
||||
|
||||
|
||||
Reference in New Issue
Block a user