Removed m_modified, since the base widget has a field for this.

--HG--
branch : dfighter-tools
This commit is contained in:
dfighter1985 2014-09-03 17:25:11 +02:00
parent 691edb41eb
commit 99e9a2ad76
2 changed files with 2 additions and 5 deletions

View file

@ -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];

View file

@ -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;