mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:50:06 +00:00 
			
		
		
		
	Placefile GCC warning cleanup
This commit is contained in:
		
							parent
							
								
									e7da934db1
								
							
						
					
					
						commit
						170e30ca6c
					
				
					 2 changed files with 2 additions and 4 deletions
				
			
		|  | @ -77,8 +77,8 @@ public: | |||
|                             bool thresholded                       = false) : | ||||
|        p {impl}, | ||||
|        name_ {name}, | ||||
|        placefile_ {placefile}, | ||||
|        title_ {title}, | ||||
|        placefile_ {placefile}, | ||||
|        enabled_ {enabled}, | ||||
|        thresholded_ {thresholded} | ||||
|    { | ||||
|  |  | |||
|  | @ -303,8 +303,6 @@ void PlacefileModel::HandlePlacefileRemoved(const std::string& name) | |||
|    { | ||||
|       // Placefile exists, delete row
 | ||||
|       const int row = std::distance(p->placefileNames_.begin(), it); | ||||
|       QModelIndex topLeft     = createIndex(row, kFirstColumn); | ||||
|       QModelIndex bottomRight = createIndex(row, kLastColumn); | ||||
| 
 | ||||
|       beginRemoveRows(QModelIndex(), row, row); | ||||
|       p->placefileNames_.erase(it); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat