[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE_3_2_BRANCH: kdelibs/kate/part
From: Anders Lund <anders () alweb ! dk>
Date: 2004-04-02 21:02:53
Message-ID: 20040402210253.B2E2299B5 () office ! kde ! org
[Download RAW message or body]
CVS commit by alund:
backport: don't alter the document name that didn't change
M +40 -36 katedocument.cpp 1.681.2.6
M +1 -0 katedocument.h 1.264.2.4
--- kdelibs/kate/part/katedocument.cpp #1.681.2.5:1.681.2.6
@@ -73,4 +73,5 @@
#include <ktempfile.h>
#include <kmdcodec.h>
+#include <kmimetype.h>
#include <qtimer.h>
@@ -4019,4 +4020,7 @@ void KateDocument::setDocName (QString n
}
+ // if the name is set, and starts with FILENAME, it should not be changed!
+ if ( m_docName.startsWith( url().filename() ) ) return;
+
int count = -1;
--- kdelibs/kate/part/katedocument.h #1.264.2.3:1.264.2.4
@@ -447,4 +447,5 @@ class KateDocument : public Kate::Docume
//
+ //
// KParts::ReadWrite stuff
//
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic