mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-18 22:00:35 +01:00
Correction d'un bug avec l'option --config-dir=
Correction dans le script d'enregistrement des associations de fichier sous Windows git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@373 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -6,8 +6,8 @@ set current_dir=%~dp0
|
|||||||
cd /d %current_dir%
|
cd /d %current_dir%
|
||||||
|
|
||||||
set expected_qet_exe=%current_dir%Lancer QET.bat
|
set expected_qet_exe=%current_dir%Lancer QET.bat
|
||||||
set expected_project_ico=%current_dir%ico\windows_icon\diagram_icon\qet-diagram.ico
|
set expected_project_ico=%current_dir%ico\qet-diagram.ico
|
||||||
set expected_element_ico=%current_dir%ico\windows_icon\element_icon\qet-element.ico
|
set expected_element_ico=%current_dir%ico\qet-element.ico
|
||||||
|
|
||||||
rem verifie la presence du fichier qelectrotech.exe
|
rem verifie la presence du fichier qelectrotech.exe
|
||||||
if not exist "%expected_qet_exe%" (
|
if not exist "%expected_qet_exe%" (
|
||||||
|
|||||||
@@ -231,7 +231,7 @@ void QETArguments::handleOptionArgument(const QString &option) {
|
|||||||
#ifdef QET_ALLOW_OVERRIDE_CD_OPTION
|
#ifdef QET_ALLOW_OVERRIDE_CD_OPTION
|
||||||
QString cd_arg("--config-dir=");
|
QString cd_arg("--config-dir=");
|
||||||
if (option.startsWith(cd_arg)) {
|
if (option.startsWith(cd_arg)) {
|
||||||
QString config_dir_ = option.mid(ced_arg.length());
|
config_dir_ = option.mid(cd_arg.length());
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user