ENE / comporg

Manage and organize your electronic components, datasheets and application notes on Arch LInux
GNU General Public License v3.0
1 stars 1 forks source link

Data regarding labels are created from locale #28

Open alexandre-mbm opened 7 years ago

alexandre-mbm commented 7 years ago
ui->setupUi(this);
loadLanguage();

co = new CO(this);
if(!co->readXML(co->dirPath() + CO_XML_PATH))
{
    co->useDefaultData();
    QDir().mkdir(co->dirPath() + CO_DATA_PATH);
    QDir().mkdir(co->dirPath() + CO_DATASHEET_PATH);
    QDir().mkdir(co->dirPath() + CO_APPNOTE_PATH);
}