forked from qt-creator/qt-creator
analyzer: hide Browse button for valgrind path chooser on Windows
Change-Id: If7bf02f5ab52f3f3330a8eea0669f619130bbe2f Task-number: QTCREATORBUG-5441 Reviewed-on: http://codereview.qt.nokia.com/1658 Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com> Reviewed-by: Robert Löhning <robert.loehning@nokia.com>
This commit is contained in:
@@ -64,6 +64,13 @@ ValgrindConfigWidget::ValgrindConfigWidget(ValgrindBaseSettings *settings,
|
|||||||
connect(m_settings, SIGNAL(valgrindExecutableChanged(QString)),
|
connect(m_settings, SIGNAL(valgrindExecutableChanged(QString)),
|
||||||
m_ui->valgrindExeChooser, SLOT(setPath(QString)));
|
m_ui->valgrindExeChooser, SLOT(setPath(QString)));
|
||||||
|
|
||||||
|
#ifdef Q_OS_WIN
|
||||||
|
// FIXME: On Window we know that we don't have a local valgrind
|
||||||
|
// executable, so having the "Browse" button in the path chooser
|
||||||
|
// (which is needed for the remote executable) is confusing.
|
||||||
|
m_ui->valgrindExeChooser->buttonAtIndex(0)->hide();
|
||||||
|
#endif
|
||||||
|
|
||||||
//
|
//
|
||||||
// Callgrind
|
// Callgrind
|
||||||
//
|
//
|
||||||
|
|||||||
Reference in New Issue
Block a user