From 2de84f5780f45929496366cf1fbb6423f9665f30 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luis=20=C3=81ngel=20San=20Mart=C3=ADn?= Date: Fri, 16 Sep 2022 19:38:45 +0200 Subject: [PATCH] Fix connection by registering the types used in the signal --- YACReaderLibrary/library_window.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/YACReaderLibrary/library_window.cpp b/YACReaderLibrary/library_window.cpp index f389372b..f8a31f5a 100644 --- a/YACReaderLibrary/library_window.cpp +++ b/YACReaderLibrary/library_window.cpp @@ -1186,6 +1186,8 @@ void LibraryWindow::createConnections() connect(searchEdit, &YACReaderSearchLineEdit::filterChanged, this, &LibraryWindow::setSearchFilter); #endif connect(&comicQueryResultProcessor, &ComicQueryResultProcessor::newData, this, &LibraryWindow::setComicSearchFilterData); + qRegisterMetaType("FolderItem *"); + qRegisterMetaType *>("QMap *"); connect(folderQueryResultProcessor.get(), &FolderQueryResultProcessor::newData, this, &LibraryWindow::setFolderSearchFilterData); // ContextMenus