aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/cppeditor/resourcepreviewhoverhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/cppeditor/resourcepreviewhoverhandler.cpp')
-rw-r--r--src/plugins/cppeditor/resourcepreviewhoverhandler.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/plugins/cppeditor/resourcepreviewhoverhandler.cpp b/src/plugins/cppeditor/resourcepreviewhoverhandler.cpp
index a454361d30..72fb74f087 100644
--- a/src/plugins/cppeditor/resourcepreviewhoverhandler.cpp
+++ b/src/plugins/cppeditor/resourcepreviewhoverhandler.cpp
@@ -204,8 +204,7 @@ QString ResourcePreviewHoverHandler::makeTooltip() const
ret += QString("<img src=\"file:///%1\" /><br/>").arg(m_resPath);
ret += QString("<a href=\"file:///%1\">%2</a>")
- .arg(m_resPath)
- .arg(QDir::toNativeSeparators(m_resPath));
+ .arg(m_resPath, QDir::toNativeSeparators(m_resPath));
return ret;
}