mirror of https://github.com/procxx/kepka.git
fixed metatypes declaration for 0.9.24 version
This commit is contained in:
parent
80455492b0
commit
6a299e32d3
|
@ -26,6 +26,9 @@ Copyright (c) 2014-2016 John Preston, https://desktop.telegram.org
|
|||
#include "layerwidget.h"
|
||||
#include "lang.h"
|
||||
|
||||
Q_DECLARE_METATYPE(TextLinkPtr);
|
||||
Q_DECLARE_METATYPE(Qt::MouseButton);
|
||||
|
||||
namespace App {
|
||||
|
||||
void sendBotCommand(const QString &cmd, MsgId replyTo) {
|
||||
|
@ -74,9 +77,6 @@ namespace App {
|
|||
}
|
||||
}
|
||||
|
||||
Q_DECLARE_METATYPE(TextLinkPtr);
|
||||
Q_DECLARE_METATYPE(Qt::MouseButton);
|
||||
|
||||
void activateTextLink(TextLinkPtr link, Qt::MouseButton button) {
|
||||
if (Window *w = wnd()) {
|
||||
qRegisterMetaType<TextLinkPtr>();
|
||||
|
|
Loading…
Reference in New Issue