Missing Q_OBJECT macro

This commit is contained in:
Albert Vaca 2018-11-06 23:28:25 +01:00
parent 73129abbf5
commit 80395d4ca6

View file

@ -42,6 +42,7 @@
*/ */
class ShareDevicesProxyModel : public DevicesSortProxyModel class ShareDevicesProxyModel : public DevicesSortProxyModel
{ {
Q_OBJECT
public: public:
bool filterAcceptsRow(int source_row, const QModelIndex & source_parent) const override { bool filterAcceptsRow(int source_row, const QModelIndex & source_parent) const override {
const QModelIndex idx = sourceModel()->index(source_row, 0, source_parent); const QModelIndex idx = sourceModel()->index(source_row, 0, source_parent);
@ -127,3 +128,5 @@ int main(int argc, char** argv)
return 1; return 1;
} }
} }
#include "kdeconnect-handler.moc"