diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-09 11:53:20 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-06-15 14:40:40 -0400 |
| commit | 98d5602c9951b49f8033161d8497553293070f8f (patch) | |
| tree | ff029081a4230dc6dffd9a0dc1c926f73d8f4139 /src | |
| parent | 5e65325772ec427c0114dee29043d5cd78131cbc (diff) | |
adjusted the position of the "(*) Profile Specific" label
comments
Diffstat (limited to 'src')
| -rw-r--r-- | src/editexecutablesdialog.cpp | 3 | ||||
| -rw-r--r-- | src/editexecutablesdialog.ui | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/src/editexecutablesdialog.cpp b/src/editexecutablesdialog.cpp index cb6ec6e8..96f4660a 100644 --- a/src/editexecutablesdialog.cpp +++ b/src/editexecutablesdialog.cpp @@ -485,12 +485,15 @@ void EditExecutablesDialog::on_browseBinary_clicked() return; } + // setting binary if (binaryName.endsWith(".jar", Qt::CaseInsensitive)) { + // special case for jar files, uses the system java installation setJarBinary(binaryName); } else { ui->binary->setText(QDir::toNativeSeparators(binaryName)); } + // setting title if currently empty if (ui->title->text().isEmpty()) { const auto prefix = QFileInfo(binaryName).baseName(); const auto newTitle = makeNonConflictingTitle(prefix); diff --git a/src/editexecutablesdialog.ui b/src/editexecutablesdialog.ui index 6cb8e0b8..7a5fa27f 100644 --- a/src/editexecutablesdialog.ui +++ b/src/editexecutablesdialog.ui @@ -359,6 +359,9 @@ Right now the only case I know of where this needs to be overwritten is for the <property name="text">
<string>(*) Profile Specific</string>
</property>
+ <property name="margin">
+ <number>5</number>
+ </property>
</widget>
</item>
</layout>
|
