Replace Qt functions deprecated in 5.0
This commit is contained in:
		
							parent
							
								
									8b96174457
								
							
						
					
					
						commit
						69637c75af
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -74,7 +74,7 @@ void Config::read()
 | 
			
		|||
		if (value.type() == QVariant::String)
 | 
			
		||||
			value = value.toString().toUtf8();
 | 
			
		||||
 | 
			
		||||
		bindingConf.insert(key.toAscii(), value);
 | 
			
		||||
		bindingConf.insert(key.toLatin1(), value);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	confFile.endGroup();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -55,7 +55,7 @@ struct DebugLoggerPrivate
 | 
			
		|||
	void writeTimestamp()
 | 
			
		||||
	{
 | 
			
		||||
		QTime time = QTime::currentTime();
 | 
			
		||||
		*stream << "[" << time.toString().toAscii() << "] ";
 | 
			
		||||
		*stream << "[" << time.toString().toLatin1() << "] ";
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	void writeLine(const char *line)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue