Remove unused code.
This commit is contained in:
		
							parent
							
								
									cfabf56e44
								
							
						
					
					
						commit
						4e657da088
					
				
					 2 changed files with 1 additions and 9 deletions
				
			
		|  | @ -43,7 +43,7 @@ | ||||||
| #include <QSqlTableModel> | #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)), |   : ServiceRoot(feeds_model, parent), m_recycleBin(new StandardRecycleBin(this)), | ||||||
|     m_actionExportFeeds(NULL), m_actionImportFeeds(NULL), m_serviceMenu(QList<QAction*>()), |     m_actionExportFeeds(NULL), m_actionImportFeeds(NULL), m_serviceMenu(QList<QAction*>()), | ||||||
|     m_addItemMenu(QList<QAction*>()), m_feedContextMenu(QList<QAction*>()), m_actionFeedFetchMetadata(NULL) { |     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) { | 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(selected_item) | ||||||
|   Q_UNUSED(message_db_ids) |   Q_UNUSED(message_db_ids) | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
|  | @ -22,7 +22,6 @@ | ||||||
| 
 | 
 | ||||||
| #include <QCoreApplication> | #include <QCoreApplication> | ||||||
| #include <QPair> | #include <QPair> | ||||||
| #include <QSqlDatabase> |  | ||||||
| 
 | 
 | ||||||
| 
 | 
 | ||||||
| class StandardRecycleBin; | class StandardRecycleBin; | ||||||
|  | @ -98,9 +97,6 @@ class StandardServiceRoot : public ServiceRoot { | ||||||
|     bool restoreBin(); |     bool restoreBin(); | ||||||
|     bool emptyBin(); |     bool emptyBin(); | ||||||
| 
 | 
 | ||||||
|     // DB connection to be used by child items - feeds/categories.
 |  | ||||||
|     QSqlDatabase dbConnection() const; |  | ||||||
| 
 |  | ||||||
|   public slots: |   public slots: | ||||||
|     void addNewCategory(); |     void addNewCategory(); | ||||||
|     void addNewFeed(); |     void addNewFeed(); | ||||||
|  | @ -130,8 +126,6 @@ class StandardServiceRoot : public ServiceRoot { | ||||||
|     QList<QAction*> m_feedContextMenu; |     QList<QAction*> m_feedContextMenu; | ||||||
| 
 | 
 | ||||||
|     QAction *m_actionFeedFetchMetadata; |     QAction *m_actionFeedFetchMetadata; | ||||||
| 
 |  | ||||||
|     QSqlDatabase m_database; |  | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
| #endif // STANDARDSERVICEROOT_H
 | #endif // STANDARDSERVICEROOT_H
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue