mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
Add compiler message @TODO + Mod doc set style de same
This commit is contained in:
@@ -53,6 +53,7 @@ ElementsCollectionCache::ElementsCollectionCache(const QString &database_path, Q
|
|||||||
|
|
||||||
//TODO This code remove old table with mtime for create table with uuid, created at version 0,5
|
//TODO This code remove old table with mtime for create table with uuid, created at version 0,5
|
||||||
//see to remove this code at version 0,6 or 0,7 when all users will table with uuid.
|
//see to remove this code at version 0,6 or 0,7 when all users will table with uuid.
|
||||||
|
#pragma message("@TODO remove this code for qet 0.6 or later")
|
||||||
QSqlQuery table_name(cache_db_);
|
QSqlQuery table_name(cache_db_);
|
||||||
if (table_name.exec("PRAGMA table_info(names)"))
|
if (table_name.exec("PRAGMA table_info(names)"))
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -826,6 +826,7 @@ bool Element::fromXml(QDomElement &e, QHash<int, Terminal *> &table_id_adr, bool
|
|||||||
* this mean the label was made before commit 4791 (0.51 dev). So we swap the value stored in "label" to "formula" as expected.
|
* this mean the label was made before commit 4791 (0.51 dev). So we swap the value stored in "label" to "formula" as expected.
|
||||||
* @TODO remove this code at version 0.7 or more (probably useless).
|
* @TODO remove this code at version 0.7 or more (probably useless).
|
||||||
*/
|
*/
|
||||||
|
#pragma message("@TODO remove this code for qet 0.7 or later")
|
||||||
if (dc["label"].toString().contains("%") && dc["formula"].toString().isNull())
|
if (dc["label"].toString().contains("%") && dc["formula"].toString().isNull())
|
||||||
{
|
{
|
||||||
dc.addValue("formula", dc["label"]);
|
dc.addValue("formula", dc["label"]);
|
||||||
|
|||||||
Reference in New Issue
Block a user