[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/kate/app
From:       Christoph Cullmann <cullmann () kde ! org>
Date:       2007-01-28 14:24:52
Message-ID: 1169994292.208081.13241.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 627879 by cullmann:

do it the right way, disable the editorpart dialog, use always the own one, if the \
user says: no, I don't want notifications, we don't wan't that the editor part still \
shows it's own dialog

 M  +2 -1      katedocmanager.cpp  


--- trunk/KDE/kdebase/kate/app/katedocmanager.cpp #627878:627879
@@ -113,8 +113,9 @@
 {
   KTextEditor::Document *doc = (KTextEditor::Document *) \
m_editor->createDocument(this);  
+  // turn of the editorpart's own modification dialog, we have our own one, too!
   if (qobject_cast<KTextEditor::ModificationInterface *>(doc))
-    qobject_cast<KTextEditor::ModificationInterface \
*>(doc)->setModifiedOnDiskWarning (true); +    \
qobject_cast<KTextEditor::ModificationInterface *>(doc)->setModifiedOnDiskWarning \
(false);  
   m_docList.append(doc);
   m_docInfos.insert (doc, new KateDocumentInfo ());


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic