mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Revert r5449 and disable r5452 momentary : Load time from elements is
very slow git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5461 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -167,7 +167,7 @@ void TitleBlockTemplate::exportCellToXml(TitleBlockCell *cell, QDomElement &xml_
|
||||
cells are duplicated too and associated with their parent template).
|
||||
*/
|
||||
TitleBlockTemplate *TitleBlockTemplate::clone() const {
|
||||
auto *copy = new TitleBlockTemplate();
|
||||
TitleBlockTemplate *copy = new TitleBlockTemplate();
|
||||
copy -> name_ = name_;
|
||||
copy -> information_ = information_;
|
||||
|
||||
@@ -1030,7 +1030,7 @@ bool TitleBlockTemplate::addLogo(const QString &logo_name, QByteArray *logo_data
|
||||
// we can now create our image object from the byte array
|
||||
if (logo_type == "svg") {
|
||||
// SVG format is handled by the QSvgRenderer class
|
||||
auto *svg = new QSvgRenderer();
|
||||
QSvgRenderer *svg = new QSvgRenderer();
|
||||
if (!svg -> load(*logo_data)) {
|
||||
return(false);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user