diff --git a/sources/elementscollectioncache.cpp b/sources/elementscollectioncache.cpp index aad95ff4c..0b293d426 100644 --- a/sources/elementscollectioncache.cpp +++ b/sources/elementscollectioncache.cpp @@ -51,8 +51,9 @@ ElementsCollectionCache::ElementsCollectionCache(const QString &database_path, Q cache_db_.exec("PRAGMA locking_mode = EXCLUSIVE"); cache_db_.exec("PRAGMA synchronous = OFF"); - //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. + //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. +#pragma message("@TODO remove this code for qet 0.6 or later") QSqlQuery table_name(cache_db_); if (table_name.exec("PRAGMA table_info(names)")) { diff --git a/sources/qetgraphicsitem/element.cpp b/sources/qetgraphicsitem/element.cpp index 5bc29dc0e..26a25178c 100644 --- a/sources/qetgraphicsitem/element.cpp +++ b/sources/qetgraphicsitem/element.cpp @@ -826,6 +826,7 @@ bool Element::fromXml(QDomElement &e, QHash &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. * @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()) { dc.addValue("formula", dc["label"]);