Skip to content

Commit

Permalink
fix: properly register button settings type (fix #3071)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bionus committed Jul 20, 2024
1 parent 65a0139 commit eac529a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 1 addition & 2 deletions src/gui/src/custom-buttons/settings.h
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
#include <QList>
#include <QMetaType>
#include <QString>
#include "custom-buttons/state.h"


class ButtonState;

class ButtonSettings
{
public:
Expand Down
2 changes: 2 additions & 0 deletions src/gui/src/main/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ int main(int argc, char *argv[])
}

qRegisterMetaType<PageApi::LoadResult>("LoadResult");
qRegisterMetaType<ButtonSettings>();
qRegisterMetaType<QList<ButtonSettings>>();

// Set window title according to the current build
#ifdef NIGHTLY
Expand Down

0 comments on commit eac529a

Please sign in to comment.