Simplify theme preview strings collect
This commit is contained in:
		
							parent
							
								
									7f348adc17
								
							
						
					
					
						commit
						5043a2e301
					
				
					 1 changed files with 5 additions and 7 deletions
				
			
		| 
						 | 
				
			
			@ -1006,13 +1006,11 @@ QImage GeneratePreview(
 | 
			
		|||
}
 | 
			
		||||
 | 
			
		||||
QMap<QString, QString> CollectStrings() {
 | 
			
		||||
	QMap<QString, QString> result;
 | 
			
		||||
 | 
			
		||||
	result.insert(qsl("lng_message_ph"), tr::lng_message_ph(tr::now));
 | 
			
		||||
	result.insert(qsl("lng_dlg_filter"), tr::lng_dlg_filter(tr::now));
 | 
			
		||||
	result.insert(qsl("lng_status_online"), tr::lng_status_online(tr::now));
 | 
			
		||||
 | 
			
		||||
	return result;
 | 
			
		||||
	return {
 | 
			
		||||
		{ "lng_message_ph", tr::lng_message_ph(tr::now) },
 | 
			
		||||
		{ "lng_dlg_filter", tr::lng_dlg_filter(tr::now) },
 | 
			
		||||
		{ "lng_status_online", tr::lng_status_online(tr::now) },
 | 
			
		||||
	};
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
int DefaultPreviewTitleHeight() {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		
		Reference in a new issue