forked from qt-creator/qt-creator
Fix displayed file name when searching directory ending with '/'.
Task-number: QTCREATORBUG-6119 Change-Id: I894da0f77e484fe0785ece8039f46233e05c5c91 Reviewed-on: http://codereview.qt-project.org/5063 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
This commit is contained in:
@@ -84,6 +84,7 @@ QString FindInCurrentFile::label() const
|
||||
|
||||
QString FindInCurrentFile::toolTip() const
|
||||
{
|
||||
// %2 is filled by BaseFileFind::runNewSearch
|
||||
return tr("File path: %1\n%2").arg(QDir::toNativeSeparators(m_currentFile->fileName()));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user