mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 09:00:05 +00:00 
			
		
		
		
	Call QSortFilterProxyModel::invalidate instead of invalidateRowsFilter (public vs. protected API)
This commit is contained in:
		
							parent
							
								
									1fdefe83de
								
							
						
					
					
						commit
						86926178df
					
				
					 1 changed files with 3 additions and 4 deletions
				
			
		|  | @ -102,10 +102,9 @@ void AlertProxyModel::Impl::UpdateAlerts() | |||
|    // Re-evaluate for expired alerts
 | ||||
|    if (alertActiveFilterEnabled_) | ||||
|    { | ||||
|       QMetaObject::invokeMethod( | ||||
|          self_, | ||||
|          static_cast<void (QSortFilterProxyModel::*)()>( | ||||
|             &QSortFilterProxyModel::invalidateRowsFilter)); | ||||
|       QMetaObject::invokeMethod(self_, | ||||
|                                 static_cast<void (QSortFilterProxyModel::*)()>( | ||||
|                                    &QSortFilterProxyModel::invalidate)); | ||||
|    } | ||||
| 
 | ||||
|    using namespace std::chrono; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Dan Paulat
						Dan Paulat