|
From: Herton R. K. <he...@us...> - 2005-07-01 22:15:22
|
Update of /cvsroot/kimageprocess/kimageprocess/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv26337/src Modified Files: pref.cpp Log Message: - Fix bug of not saving loaded project files when options are changed and save project is chosen. Index: pref.cpp =================================================================== RCS file: /cvsroot/kimageprocess/kimageprocess/src/pref.cpp,v retrieving revision 1.8 retrieving revision 1.9 diff -u -d -r1.8 -r1.9 --- pref.cpp 23 Jun 2005 18:33:49 -0000 1.8 +++ pref.cpp 1 Jul 2005 22:15:11 -0000 1.9 @@ -1,5 +1,5 @@ /*************************************************************************** - * Copyright (C) 2004-2005 by * + * Copyright (C) 2004-2005 by * * Gustavo Pichorim Boiko <gus...@kd...> * * Herton Ronaldo Krzesinski <he...@my...> * * * @@ -19,14 +19,12 @@ * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * ***************************************************************************/ - #include "pref.h" #include "ktproject.h" #include "ktfeaturechooser.h" #include "kttextureoptions.h" #include "ktfeaturemanager.h" - #include <klocale.h> #include <qlayout.h> @@ -47,19 +45,18 @@ layout = new QHBoxLayout(frame); layout->setAutoAdd(true); m_featureChooser = new KTFeatureChooser(frame); - + // The texture options frame = addPage(i18n("Texture Options"), i18n("Texture Options")); layout = new QHBoxLayout(frame); layout->setAutoAdd(true); m_textureOptions = new KTTextureOptions(frame); - } void KImageProcessPreferences::slotOk() { + KTProject::self()->setChanged(); save(); - close(); } |