GUI: minor tweaks in Settings dialog

This commit is contained in:
Daniel Marjamäki 2017-08-11 23:40:37 +02:00
parent 45032f7d3b
commit 5414d09e03
2 changed files with 4 additions and 4 deletions

View File

@ -351,9 +351,9 @@
</attribute>
<layout class="QVBoxLayout" name="verticalLayout_8">
<item>
<widget class="QLabel" name="label_5">
<widget class="QLabel" name="mLabelClangPath">
<property name="text">
<string>Clang path</string>
<string>Clang path (leave empty to use system PATH)</string>
</property>
</widget>
</item>
@ -389,7 +389,7 @@
</spacer>
</item>
<item>
<widget class="QLabel" name="label_4">
<widget class="QLabel" name="mLabelVsIncludePaths">
<property name="text">
<string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;Visual Studio include paths.&lt;/p&gt;&lt;p&gt;Open Visual Studio Command Prompt. Type &amp;quot;SET INSTALL&amp;quot; and then copy paste the output here&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
</property>

View File

@ -55,7 +55,7 @@ SettingsDialog::SettingsDialog(ApplicationList *list,
mUI.mShowErrorId->setCheckState(boolToCheckState(settings.value(SETTINGS_SHOW_ERROR_ID, false).toBool()));
#ifdef Q_OS_WIN
mUI.mTabClang->setVisible(true);
//mUI.mTabClang->setVisible(true);
mUI.mEditClangPath->setText(settings.value(SETTINGS_CLANG_PATH, QString()).toString());
mUI.mEditVsIncludePaths->setText(settings.value(SETTINGS_VS_INCLUDE_PATHS, QString()).toString());
connect(mUI.mBtnBrowseClangPath, &QPushButton::released, this, &SettingsDialog::browseClangPath);