mirror of
https://github.com/huderlem/porymap.git
synced 2026-08-19 23:25:09 -05:00
Fix Qt5 build
Some checks are pending
Build Porymap / build-linux (, 5.14.2) (push) Waiting to run
Build Porymap / build-linux (, 6.8.*) (push) Waiting to run
Build Porymap / build-linux (minimal, 5.14.2) (push) Waiting to run
Build Porymap / build-macos (macos-15-intel) (push) Waiting to run
Build Porymap / build-macos (macos-latest) (push) Waiting to run
Build Porymap / build-static-windows (push) Waiting to run
Some checks are pending
Build Porymap / build-linux (, 5.14.2) (push) Waiting to run
Build Porymap / build-linux (, 6.8.*) (push) Waiting to run
Build Porymap / build-linux (minimal, 5.14.2) (push) Waiting to run
Build Porymap / build-macos (macos-15-intel) (push) Waiting to run
Build Porymap / build-macos (macos-latest) (push) Waiting to run
Build Porymap / build-static-windows (push) Waiting to run
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
#define LOG_H
|
||||
|
||||
#include <QString>
|
||||
#include <QHash>
|
||||
|
||||
enum class LogType {
|
||||
LOG_ERROR,
|
||||
@@ -10,6 +11,10 @@ enum class LogType {
|
||||
LOG_INFO,
|
||||
};
|
||||
|
||||
inline uint qHash(const LogType &key, uint seed = 0) {
|
||||
return qHash(static_cast<int>(key), seed);
|
||||
}
|
||||
|
||||
void logInit();
|
||||
void logInfo(const QString &message);
|
||||
void logWarn(const QString &message);
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
|
||||
#include <QLabel>
|
||||
#include <QStatusBar>
|
||||
#include <QSet>
|
||||
#include <QTimer>
|
||||
|
||||
class LogStatusBar : public QStatusBar
|
||||
|
||||
Reference in New Issue
Block a user