We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd967c0 commit 31899d8Copy full SHA for 31899d8
src/main.cpp
@@ -31,6 +31,9 @@
31
#include <desktopinfo.h>
32
#endif
33
34
+// Required for saving button list QList<CaptureTool::Type>
35
+Q_DECLARE_METATYPE(QList<int>)
36
+
37
int requestCaptureAndWait(const CaptureRequest& req)
38
{
39
Flameshot* flameshot = Flameshot::instance();
@@ -134,6 +137,9 @@ void reinitializeAsQApplication(int& argc, char* argv[])
134
137
135
138
int main(int argc, char* argv[])
136
139
140
+ // Required for saving button list QList<CaptureTool::Type>
141
+ qRegisterMetaType<QList<int>>();
142
143
QCoreApplication::setApplicationVersion(APP_VERSION);
144
QCoreApplication::setApplicationName(QStringLiteral("flameshot"));
145
QCoreApplication::setOrganizationName(QStringLiteral("flameshot"));
0 commit comments