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:
Denis Mingulov
2012-01-27 15:25:15 +02:00
committed by Leandro Melo
parent e99e435818
commit 142cee902b
6 changed files with 8 additions and 8 deletions

View File

@@ -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>&nbsp;&nbsp;"
"<img src=\":/cppeditor/images/f1.png\"></td>"
"<img src=\":/texteditor/images/f1.png\"></td>"
"</tr></table>")).arg(m_toolTip);
}