mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-04-10 00:29:58 +02:00
correct some indention / whitespace
This commit is contained in:
@@ -52,8 +52,8 @@ static int BACKUP_INTERVAL = 120000; //interval in ms of backup = 2min
|
|||||||
QETProject::QETProject(QObject *parent) :
|
QETProject::QETProject(QObject *parent) :
|
||||||
QObject (parent),
|
QObject (parent),
|
||||||
m_titleblocks_collection(this),
|
m_titleblocks_collection(this),
|
||||||
m_data_base(this, this),
|
m_data_base(this, this),
|
||||||
m_project_properties_handler{this}
|
m_project_properties_handler{this}
|
||||||
{
|
{
|
||||||
setDefaultTitleBlockProperties(TitleBlockProperties::defaultProperties());
|
setDefaultTitleBlockProperties(TitleBlockProperties::defaultProperties());
|
||||||
|
|
||||||
@@ -63,7 +63,7 @@ QETProject::QETProject(QObject *parent) :
|
|||||||
|
|
||||||
ProjectPropertiesHandler &QETProject::projectPropertiesHandler()
|
ProjectPropertiesHandler &QETProject::projectPropertiesHandler()
|
||||||
{
|
{
|
||||||
return m_project_properties_handler;
|
return m_project_properties_handler;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -75,8 +75,8 @@ ProjectPropertiesHandler &QETProject::projectPropertiesHandler()
|
|||||||
QETProject::QETProject(const QString &path, QObject *parent) :
|
QETProject::QETProject(const QString &path, QObject *parent) :
|
||||||
QObject (parent),
|
QObject (parent),
|
||||||
m_titleblocks_collection(this),
|
m_titleblocks_collection(this),
|
||||||
m_data_base(this, this),
|
m_data_base(this, this),
|
||||||
m_project_properties_handler{this}
|
m_project_properties_handler{this}
|
||||||
{
|
{
|
||||||
QFile file(path);
|
QFile file(path);
|
||||||
m_state = openFile(&file);
|
m_state = openFile(&file);
|
||||||
@@ -97,8 +97,8 @@ QETProject::QETProject(const QString &path, QObject *parent) :
|
|||||||
QETProject::QETProject(KAutoSaveFile *backup, QObject *parent) :
|
QETProject::QETProject(KAutoSaveFile *backup, QObject *parent) :
|
||||||
QObject (parent),
|
QObject (parent),
|
||||||
m_titleblocks_collection(this),
|
m_titleblocks_collection(this),
|
||||||
m_data_base(this, this),
|
m_data_base(this, this),
|
||||||
m_project_properties_handler{this}
|
m_project_properties_handler{this}
|
||||||
{
|
{
|
||||||
m_state = openFile(backup);
|
m_state = openFile(backup);
|
||||||
//Failed to open from the backup, try to open the crashed
|
//Failed to open from the backup, try to open the crashed
|
||||||
|
|||||||
Reference in New Issue
Block a user