mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 10:30:06 +00:00 
			
		
		
		
	Removing unused delegate from placefile settings widget
This commit is contained in:
		
							parent
							
								
									5d06f6bc21
								
							
						
					
					
						commit
						b3d75b10ca
					
				
					 1 changed files with 3 additions and 6 deletions
				
			
		|  | @ -4,7 +4,6 @@ | |||
| #include <scwx/qt/manager/placefile_manager.hpp> | ||||
| #include <scwx/qt/model/placefile_model.hpp> | ||||
| #include <scwx/qt/types/qt_types.hpp> | ||||
| #include <scwx/qt/ui/left_elided_item_delegate.hpp> | ||||
| #include <scwx/qt/ui/open_url_dialog.hpp> | ||||
| #include <scwx/util/logger.hpp> | ||||
| 
 | ||||
|  | @ -27,8 +26,7 @@ public: | |||
|        self_ {self}, | ||||
|        openUrlDialog_ {new OpenUrlDialog(QObject::tr("Add Placefile"), self_)}, | ||||
|        placefileModel_ {new model::PlacefileModel(self_)}, | ||||
|        placefileProxyModel_ {new QSortFilterProxyModel(self_)}, | ||||
|        leftElidedItemDelegate_ {new LeftElidedItemDelegate(self_)} | ||||
|        placefileProxyModel_ {new QSortFilterProxyModel(self_)} | ||||
|    { | ||||
|       placefileProxyModel_->setSourceModel(placefileModel_); | ||||
|       placefileProxyModel_->setSortRole(types::ItemDataRole::SortRole); | ||||
|  | @ -46,9 +44,8 @@ public: | |||
|    std::shared_ptr<manager::PlacefileManager> placefileManager_ { | ||||
|       manager::PlacefileManager::Instance()}; | ||||
| 
 | ||||
|    model::PlacefileModel*  placefileModel_; | ||||
|    QSortFilterProxyModel*  placefileProxyModel_; | ||||
|    LeftElidedItemDelegate* leftElidedItemDelegate_; | ||||
|    model::PlacefileModel* placefileModel_; | ||||
|    QSortFilterProxyModel* placefileProxyModel_; | ||||
| }; | ||||
| 
 | ||||
| PlacefileSettingsWidget::PlacefileSettingsWidget(QWidget* parent) : | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat