mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 14:50:53 +01:00
Improve and simplify the use of versions
This commit is contained in:
@@ -22,9 +22,11 @@
|
||||
#include "diagramposition.h"
|
||||
#include "math.h"
|
||||
#include "qetapp.h"
|
||||
#include "qetversion.h"
|
||||
#include "titleblocktemplate.h"
|
||||
#include "titleblocktemplaterenderer.h"
|
||||
|
||||
|
||||
#include <QLocale>
|
||||
#include <QPainter>
|
||||
#include <utility>
|
||||
@@ -317,7 +319,7 @@ void BorderTitleBlock::importTitleBlock(const TitleBlockProperties &ip) {
|
||||
setPlant(ip.plant);
|
||||
setLocMach(ip.locmach);
|
||||
setIndicerev(ip.indexrev);
|
||||
setVersion(QET::displayedVersion);
|
||||
setVersion(QetVersion::displayedVersion());
|
||||
setFolio(ip.folio);
|
||||
setAutoPageNum(ip.auto_page_num);
|
||||
if (m_edge != ip.display_at)
|
||||
|
||||
Reference in New Issue
Block a user