From 516e4eef9396aa9ee21214402a1883f275f55542 Mon Sep 17 00:00:00 2001 From: dfighter1985 Date: Wed, 3 Sep 2014 17:25:11 +0200 Subject: [PATCH] Removed m_modified, since the base widget has a field for this. --- .../src/plugins/georges_editor/georges_treeview_dialog.cpp | 5 ++--- .../src/plugins/georges_editor/georges_treeview_dialog.h | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/code/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp b/code/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp index e9ecec074..3a2113417 100644 --- a/code/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp +++ b/code/studio/src/plugins/georges_editor/georges_treeview_dialog.cpp @@ -53,8 +53,7 @@ namespace GeorgesQt CGeorgesTreeViewDialog::CGeorgesTreeViewDialog(QWidget *parent /*= 0*/) : GeorgesDockWidget(parent), - m_header(0), - m_modified(false) + m_header(0) { m_georges = new CGeorges; @@ -373,7 +372,7 @@ namespace GeorgesQt // //((CForm*)(UForm*)Form)->write (xmlStream.getDocument (), lpszPathName, theApp.Georges4CVS); m_form->write(file); setWindowTitle(windowTitle().remove("*")); - m_modified = false; + setModified( false ); // //if (strcmp (xmlStream.getErrorString (), "") != 0) // //{ // // char message[512]; diff --git a/code/studio/src/plugins/georges_editor/georges_treeview_dialog.h b/code/studio/src/plugins/georges_editor/georges_treeview_dialog.h index a32439543..765a70a21 100644 --- a/code/studio/src/plugins/georges_editor/georges_treeview_dialog.h +++ b/code/studio/src/plugins/georges_editor/georges_treeview_dialog.h @@ -112,8 +112,6 @@ namespace GeorgesQt /// Contains a record of the last directory a sheet file dialog was opened for. QString m_lastSheetDir; - bool m_modified; - BrowserCtrl *m_browserCtrl; CGeorgesFormModel *m_model;