mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-18 09:39:58 +01:00
Le champ "Fichier" dans Fichier > Exporter est desormais pourvu de l'auto-completion
Amelioration des options de compilation : plus besoin d'entourer les chemins par des \\" Amelioration mineure du rendu des points de selection sur les conducteurs git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@174 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
#include "qetapp.h"
|
||||
#include "qetdiagrameditor.h"
|
||||
#include "qetelementeditor.h"
|
||||
#define QUOTE(x) STRINGIFY(x)
|
||||
#define STRINGIFY(x) #x
|
||||
|
||||
QString QETApp::common_elements_dir = QString();
|
||||
|
||||
@@ -182,7 +184,7 @@ QString QETApp::commonElementsDir() {
|
||||
if (common_elements_dir != QString()) return(common_elements_dir);
|
||||
#endif
|
||||
#ifdef QET_COMMON_COLLECTION_PATH
|
||||
return(QET_COMMON_COLLECTION_PATH);
|
||||
return(QUOTE(QET_COMMON_COLLECTION_PATH));
|
||||
#else
|
||||
return(QDir::current().path() + "/elements/");
|
||||
#endif
|
||||
@@ -272,7 +274,7 @@ QString QETApp::languagesPath() {
|
||||
#ifndef QET_LANG_PATH
|
||||
return(QDir::current().path() + "/lang/");
|
||||
#else
|
||||
return(QET_LANG_PATH);
|
||||
return(QUOTE(QET_LANG_PATH));
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user