Removed m_modified, since the base widget has a field for this.
This commit is contained in:
parent
baec2d1155
commit
1be8e6f6a8
2 changed files with 2 additions and 5 deletions
|
@ -53,8 +53,7 @@ namespace GeorgesQt
|
||||||
|
|
||||||
CGeorgesTreeViewDialog::CGeorgesTreeViewDialog(QWidget *parent /*= 0*/)
|
CGeorgesTreeViewDialog::CGeorgesTreeViewDialog(QWidget *parent /*= 0*/)
|
||||||
: GeorgesDockWidget(parent),
|
: GeorgesDockWidget(parent),
|
||||||
m_header(0),
|
m_header(0)
|
||||||
m_modified(false)
|
|
||||||
{
|
{
|
||||||
m_georges = new CGeorges;
|
m_georges = new CGeorges;
|
||||||
|
|
||||||
|
@ -373,7 +372,7 @@ namespace GeorgesQt
|
||||||
// //((CForm*)(UForm*)Form)->write (xmlStream.getDocument (), lpszPathName, theApp.Georges4CVS);
|
// //((CForm*)(UForm*)Form)->write (xmlStream.getDocument (), lpszPathName, theApp.Georges4CVS);
|
||||||
m_form->write(file);
|
m_form->write(file);
|
||||||
setWindowTitle(windowTitle().remove("*"));
|
setWindowTitle(windowTitle().remove("*"));
|
||||||
m_modified = false;
|
setModified( false );
|
||||||
// //if (strcmp (xmlStream.getErrorString (), "") != 0)
|
// //if (strcmp (xmlStream.getErrorString (), "") != 0)
|
||||||
// //{
|
// //{
|
||||||
// // char message[512];
|
// // char message[512];
|
||||||
|
|
|
@ -112,8 +112,6 @@ namespace GeorgesQt
|
||||||
/// Contains a record of the last directory a sheet file dialog was opened for.
|
/// Contains a record of the last directory a sheet file dialog was opened for.
|
||||||
QString m_lastSheetDir;
|
QString m_lastSheetDir;
|
||||||
|
|
||||||
bool m_modified;
|
|
||||||
|
|
||||||
BrowserCtrl *m_browserCtrl;
|
BrowserCtrl *m_browserCtrl;
|
||||||
CGeorgesFormModel *m_model;
|
CGeorgesFormModel *m_model;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue