fix metatypes not registered for showguimessage invocation
This commit is contained in:
parent
3c85ff8d12
commit
eac7bf10a8
1 changed files with 0 additions and 2 deletions
|
@ -65,7 +65,6 @@ Q_DECLARE_METATYPE(GuiMessage)
|
||||||
|
|
||||||
struct GuiMessageDestination {
|
struct GuiMessageDestination {
|
||||||
public:
|
public:
|
||||||
GuiMessageDestination() {}
|
|
||||||
GuiMessageDestination(bool tray = true, bool message_box = false, bool status_bar = false)
|
GuiMessageDestination(bool tray = true, bool message_box = false, bool status_bar = false)
|
||||||
: m_tray(tray), m_messageBox(message_box), m_statusBar(status_bar) {}
|
: m_tray(tray), m_messageBox(message_box), m_statusBar(status_bar) {}
|
||||||
|
|
||||||
|
@ -78,7 +77,6 @@ Q_DECLARE_METATYPE(GuiMessageDestination)
|
||||||
|
|
||||||
struct GuiAction {
|
struct GuiAction {
|
||||||
public:
|
public:
|
||||||
GuiAction() {}
|
|
||||||
GuiAction(QString title = {}, const std::function<void()>& action = nullptr)
|
GuiAction(QString title = {}, const std::function<void()>& action = nullptr)
|
||||||
: m_title(std::move(title)), m_action(action) {}
|
: m_title(std::move(title)), m_action(action) {}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue