diff --git a/src/plugins/qt4projectmanager/qtoptionspage.cpp b/src/plugins/qt4projectmanager/qtoptionspage.cpp index 9e656f17b35..23558879d6b 100644 --- a/src/plugins/qt4projectmanager/qtoptionspage.cpp +++ b/src/plugins/qt4projectmanager/qtoptionspage.cpp @@ -439,53 +439,6 @@ void QtOptionsPageWidget::removeQtDir() updateState(); } -// Format html table tooltip about helpers -static inline QString msgHtmlHelperToolTip(const QString &gdbHelperPath, - const QString &qmlJsDebugLibPath, - const QString &qmlDumpPath, - const QString &qmlObserverPath) -{ - QFileInfo gdbHelperFI(gdbHelperPath); - QFileInfo qmlJsDebugLibFi(qmlJsDebugLibPath); - QFileInfo qmlDumpFI(qmlDumpPath); - QFileInfo qmlObserverFI(qmlObserverPath); - - QString notFound = QtOptionsPageWidget::tr("Binary not found"); - - //: Tooltip showing the debugging helper library file. - return QtOptionsPageWidget::tr("" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "" - "
GDB debugging helpers
File:
%1
Last modified:%2
Size:%3 Bytes
QML debugging library
File:
%4
Last modified:%5
Size:%6 Bytes
QML type dumper
File:
%7
Last modified:%8
Size:%9 Bytes
QML observer
File:
%10
Last modified:%11
Size:%12 Bytes
" - ). - arg(gdbHelperPath.isEmpty() ? notFound : QDir::toNativeSeparators(gdbHelperFI.absoluteFilePath())). - arg(gdbHelperFI.lastModified().toString(Qt::SystemLocaleLongDate)). - arg(gdbHelperFI.size()). - arg(qmlJsDebugLibPath.isEmpty() ? notFound : QDir::toNativeSeparators(qmlJsDebugLibFi.absoluteFilePath())). - arg(qmlJsDebugLibFi.lastModified().toString(Qt::SystemLocaleLongDate)). - arg(qmlJsDebugLibFi.size()). - arg(qmlDumpPath.isEmpty() ? notFound : QDir::toNativeSeparators(qmlDumpFI.absoluteFilePath())). - arg(qmlDumpFI.lastModified().toString(Qt::SystemLocaleLongDate)). - arg(qmlDumpFI.size()). - arg(qmlObserverPath.isEmpty() ? notFound : QDir::toNativeSeparators(qmlObserverFI.absoluteFilePath())). - arg(qmlObserverFI.lastModified().toString(Qt::SystemLocaleLongDate)). - arg(qmlObserverFI.size()); -} - void QtOptionsPageWidget::updateDebuggingHelperUi() { QtVersion *version = currentVersion();