diff --git a/YACReaderLibrary/db/comic_model.cpp b/YACReaderLibrary/db/comic_model.cpp index 0a925ff6..c15d09d2 100644 --- a/YACReaderLibrary/db/comic_model.cpp +++ b/YACReaderLibrary/db/comic_model.cpp @@ -18,8 +18,6 @@ ComicModel::ComicModel(QObject *parent) : QAbstractItemModel(parent) { - connect(this, SIGNAL(beforeReset()), this, SIGNAL(modelAboutToBeReset())); - connect(this, SIGNAL(reset()), this, SIGNAL(modelReset())); } ComicModel::ComicModel(QSqlQuery &sqlquery, QObject *parent) diff --git a/YACReaderLibrary/db/comic_model.h b/YACReaderLibrary/db/comic_model.h index 55063f3e..fe628311 100644 --- a/YACReaderLibrary/db/comic_model.h +++ b/YACReaderLibrary/db/comic_model.h @@ -160,8 +160,6 @@ private: qulonglong sourceId; signals: - void beforeReset(); - void reset(); void isEmpty(); void searchNumResults(int); void resortedIndexes(QList); diff --git a/YACReaderLibrary/db/folder_model.cpp b/YACReaderLibrary/db/folder_model.cpp index 35271125..6b04360c 100644 --- a/YACReaderLibrary/db/folder_model.cpp +++ b/YACReaderLibrary/db/folder_model.cpp @@ -56,8 +56,6 @@ void drawMacOSXFinishedFolderIcon() FolderModel::FolderModel(QObject *parent) : QAbstractItemModel(parent), rootItem(0) { - connect(this, SIGNAL(beforeReset()), this, SIGNAL(modelAboutToBeReset())); - connect(this, SIGNAL(reset()), this, SIGNAL(modelReset())); } FolderModel::FolderModel(QSqlQuery &sqlquery, QObject *parent) diff --git a/YACReaderLibrary/db/folder_model.h b/YACReaderLibrary/db/folder_model.h index 8eb19af1..419f9df8 100644 --- a/YACReaderLibrary/db/folder_model.h +++ b/YACReaderLibrary/db/folder_model.h @@ -102,10 +102,6 @@ private: QMap items; //relación entre folders QString _databasePath; - -signals: - void beforeReset(); - void reset(); }; #endif