|
|
@ -103,8 +103,8 @@ namespace GeorgesQt
|
|
|
|
|
|
|
|
|
|
|
|
connect(Core::ICore::instance(), SIGNAL(changeSettings()),
|
|
|
|
connect(Core::ICore::instance(), SIGNAL(changeSettings()),
|
|
|
|
this, SLOT(settingsChanged()));
|
|
|
|
this, SLOT(settingsChanged()));
|
|
|
|
connect(m_georgesDirTreeDialog, SIGNAL(selectedForm(const QString)),
|
|
|
|
connect(m_georgesDirTreeDialog, SIGNAL(fileSelected(const QString&)),
|
|
|
|
this, SLOT(loadFile(const QString)));
|
|
|
|
this, SLOT(loadFile(const QString&)));
|
|
|
|
connect(qApp, SIGNAL(focusChanged(QWidget*, QWidget*)),
|
|
|
|
connect(qApp, SIGNAL(focusChanged(QWidget*, QWidget*)),
|
|
|
|
this, SLOT(focusChanged(QWidget*, QWidget*)));
|
|
|
|
this, SLOT(focusChanged(QWidget*, QWidget*)));
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -194,12 +194,12 @@ namespace GeorgesQt
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void GeorgesEditorForm::loadFile(const QString fileName)
|
|
|
|
void GeorgesEditorForm::loadFile(const QString &fileName)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
loadFile(fileName, false);
|
|
|
|
loadFile(fileName, false);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void GeorgesEditorForm::loadFile(const QString fileName, bool loadFromDfn)
|
|
|
|
void GeorgesEditorForm::loadFile(const QString &fileName, bool loadFromDfn)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
QFileInfo info(fileName);
|
|
|
|
QFileInfo info(fileName);
|
|
|
|
|
|
|
|
|
|
|
|