mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:10:04 +00:00 
			
		
		
		
	Refactor Qt types to avoid namespace conflict
This commit is contained in:
		
							parent
							
								
									78f57698f6
								
							
						
					
					
						commit
						e98bca9d5d
					
				
					 6 changed files with 12 additions and 13 deletions
				
			
		|  | @ -1,6 +1,6 @@ | |||
| #include <scwx/qt/model/radar_site_model.hpp> | ||||
| #include <scwx/qt/common/types.hpp> | ||||
| #include <scwx/qt/config/radar_site.hpp> | ||||
| #include <scwx/qt/types/qt_types.hpp> | ||||
| #include <scwx/common/geographic.hpp> | ||||
| #include <scwx/util/logger.hpp> | ||||
| 
 | ||||
|  | @ -63,7 +63,7 @@ QVariant RadarSiteModel::data(const QModelIndex& index, int role) const | |||
| { | ||||
|    if (index.isValid() && index.row() >= 0 && | ||||
|        index.row() < p->radarSites_.size() && | ||||
|        (role == Qt::DisplayRole || role == common::SortRole)) | ||||
|        (role == Qt::DisplayRole || role == types::SortRole)) | ||||
|    { | ||||
|       const auto& site = p->radarSites_.at(index.row()); | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat