mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-06-17 02:52:36 +02:00
qet_tb_generator: drop dead ~/Application Data/qet fallback (Windows)
The Windows search list for the qet_tb_generator plugin included `~/Application Data/qet/qet_tb_generator.exe` as a fallback. That legacy junction path is the same inaccessible location the standard-directories change moved QET away from, and it never matched a pip install anyway: `pip install qet_tb_generator` puts the executable in the Python Scripts directory (`...\PythonXX\Scripts` on PATH, or `%APPDATA%\Python\PythonXX\Scripts` for --user installs), not in `QETApp::dataDir()`. Pip installs are already found via QStandardPaths::findExecutable (PATH), and manual binary drops via dataDir()/binary and the working directory. The legacy entry only matched old manual drops into the inaccessible folder, so remove it. Refs qelectrotech-source-mirror#199 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -2474,7 +2474,6 @@ void QETDiagramEditor::generateTerminalBlock()
|
||||
exeList << (QETApp::dataDir() + "/binary/qet_tb_generator.exe")
|
||||
<< (QDir::currentPath() + "/qet_tb_generator.exe")
|
||||
<< QStandardPaths::findExecutable("qet_tb_generator.exe")
|
||||
<< (QDir::homePath() + "/Application Data/qet/qet_tb_generator.exe")
|
||||
<< "qet_tb_generator.exe"
|
||||
<< "qet_tb_generator"; // from original code: missing ".exe" ???
|
||||
#elif defined(Q_OS_MACOS)
|
||||
|
||||
Reference in New Issue
Block a user