initial version
This commit is contained in:
16
misc/Debug.h
Normal file
16
misc/Debug.h
Normal file
@@ -0,0 +1,16 @@
|
||||
#ifndef DEBUG_H
|
||||
#define DEBUG_H
|
||||
|
||||
#include <QDebug>
|
||||
|
||||
class Debug {
|
||||
|
||||
public:
|
||||
|
||||
static void error(const std::string& err) {
|
||||
qDebug(err.c_str());
|
||||
throw err;
|
||||
}
|
||||
};
|
||||
|
||||
#endif // DEBUG_H
|
||||
Reference in New Issue
Block a user