forked from qt-creator/qt-creator
		
	TextEditor: Fix incorrect dependency to CppEditor resources
TextEditor BaseHoverHandler::addF1ToToolTip() method has used a resource from CppEditor (:/cppeditor/images/f1.png), despite of the inverse official dependecy in PluginSpec file and other classes. As it is not used anywhere else - to fix the issue f1.png and f1.svg are moved from CppEditor to TextEditor. Change-Id: I14b542837d6337bd08e19ad72cf4a869be08465a Reviewed-by: Christian Stenger <christian.stenger@nokia.com> Reviewed-by: Leandro Melo <leandro.melo@nokia.com>
This commit is contained in:
		
				
					committed by
					
						
						Leandro Melo
					
				
			
			
				
	
			
			
			
						parent
						
							e99e435818
						
					
				
				
					commit
					142cee902b
				
			@@ -113,7 +113,7 @@ void BaseHoverHandler::appendToolTip(const QString &extension)
 | 
			
		||||
void BaseHoverHandler::addF1ToToolTip()
 | 
			
		||||
{
 | 
			
		||||
    m_toolTip = QString(QLatin1String("<table><tr><td valign=middle>%1</td><td>  "
 | 
			
		||||
                                      "<img src=\":/cppeditor/images/f1.png\"></td>"
 | 
			
		||||
                                      "<img src=\":/texteditor/images/f1.png\"></td>"
 | 
			
		||||
                                      "</tr></table>")).arg(m_toolTip);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user