Remove unused code.

This commit is contained in:
Martin Rotter 2015-11-24 19:46:12 +01:00
parent cfabf56e44
commit 4e657da088
2 changed files with 1 additions and 9 deletions

View File

@ -43,7 +43,7 @@
#include <QSqlTableModel>
StandardServiceRoot::StandardServiceRoot(bool load_from_db, FeedsModel *feeds_model, RootItem *parent)
StandardServiceRoot::'StandardServiceRoot(bool load_from_db, FeedsModel *feeds_model, RootItem *parent)
: ServiceRoot(feeds_model, parent), m_recycleBin(new StandardRecycleBin(this)),
m_actionExportFeeds(NULL), m_actionImportFeeds(NULL), m_serviceMenu(QList<QAction*>()),
m_addItemMenu(QList<QAction*>()), m_feedContextMenu(QList<QAction*>()), m_actionFeedFetchMetadata(NULL) {
@ -679,8 +679,6 @@ bool StandardServiceRoot::onBeforeMessagesRestoredFromBin(RootItem *selected_ite
}
bool StandardServiceRoot::onAfterMessagesRestoredFromBin(RootItem *selected_item, QList<int> message_db_ids) {
// TODO: ok, nejake zpravy obnoveny z koše, ale nevíme přesně
// do jakých původně kanálů, obnovíme všecko.
Q_UNUSED(selected_item)
Q_UNUSED(message_db_ids)

View File

@ -22,7 +22,6 @@
#include <QCoreApplication>
#include <QPair>
#include <QSqlDatabase>
class StandardRecycleBin;
@ -98,9 +97,6 @@ class StandardServiceRoot : public ServiceRoot {
bool restoreBin();
bool emptyBin();
// DB connection to be used by child items - feeds/categories.
QSqlDatabase dbConnection() const;
public slots:
void addNewCategory();
void addNewFeed();
@ -130,8 +126,6 @@ class StandardServiceRoot : public ServiceRoot {
QList<QAction*> m_feedContextMenu;
QAction *m_actionFeedFetchMetadata;
QSqlDatabase m_database;
};
#endif // STANDARDSERVICEROOT_H