Error handle
This commit is contained in:
20
src/errorhandle/GUIErrorHandle.h
Normal file
20
src/errorhandle/GUIErrorHandle.h
Normal file
@@ -0,0 +1,20 @@
|
||||
//
|
||||
// Created by Krad on 2021/12/16.
|
||||
//
|
||||
|
||||
#ifndef GUI_GUIERRORHANDLE_H
|
||||
#define GUI_GUIERRORHANDLE_H
|
||||
|
||||
#include <QObject>
|
||||
class GUIErrorHandle: public QObject {
|
||||
Q_OBJECT
|
||||
public:
|
||||
static GUIErrorHandle* Default(){
|
||||
static GUIErrorHandle handle;
|
||||
return &handle;
|
||||
}
|
||||
void init();
|
||||
};
|
||||
|
||||
|
||||
#endif //GUI_GUIERRORHANDLE_H
|
||||
Reference in New Issue
Block a user