0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-11 13:09:18 +00:00
termux-packages/x11-packages/flacon/gui-controls.cpp.patch
2023-05-20 09:36:06 +09:00

12 lines
580 B
Diff

--- a/gui/controls.cpp
+++ b/gui/controls.cpp
@@ -691,7 +691,7 @@
.arg(mProgram->name())
+ QString(" (%1);;").arg(mProgram->name()) + tr("All files", "This is part of filter for 'select program' dialog. 'All files (*)'") + " (*)";
- QString fileName = !text().isEmpty() ? text() : "/usr/bin/" + mProgram->name();
+ QString fileName = !text().isEmpty() ? text() : "@TERMUX_PREFIX@/bin/" + mProgram->name();
fileName = QFileDialog::getOpenFileName(this, tr("Select program file"), fileName, flt);
if (!fileName.isEmpty())