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

List:       kde-commits
Subject:    KDE/kdelibs/kate/utils
From:       Bernhard Beschow <bbeschow () cs ! tu-berlin ! de>
Date:       2010-05-02 16:30:57
Message-ID: 20100502163057.03D70AC8AA () svn ! kde ! org
[Download RAW message or body]

SVN commit 1121895 by beschow:

don't connect the template handler to the textChanged() signal and see what happens

 M  +0 -4      katetemplatehandler.cpp  


--- trunk/KDE/kdelibs/kate/utils/katetemplatehandler.cpp #1121894:1121895
@@ -115,8 +115,6 @@
 
       connect(doc(), SIGNAL(viewCreated(KTextEditor::Document*, \
                KTextEditor::View*)),
               this, SLOT(slotViewCreated(KTextEditor::Document*, \
                KTextEditor::View*)));
-      connect(doc(), SIGNAL(textChanged(KTextEditor::Document*, KTextEditor::Range, \
                KTextEditor::Range)),
-              this, SLOT(slotTextChanged(KTextEditor::Document*, \
                KTextEditor::Range)));
       connect(doc(), SIGNAL(textInserted(KTextEditor::Document*, \
                KTextEditor::Range)),
               this, SLOT(slotTextChanged(KTextEditor::Document*, \
                KTextEditor::Range)));
       connect(doc(), SIGNAL(textRemoved(KTextEditor::Document*, \
KTextEditor::Range)), @@ -160,8 +158,6 @@
   ifDebug(kDebug() << "cleaning up and exiting";)
   disconnect(doc(), SIGNAL(viewCreated(KTextEditor::Document*,KTextEditor::View*)),
              this, SLOT(slotViewCreated(KTextEditor::Document*,KTextEditor::View*)));
                
-  disconnect(doc(), \
                SIGNAL(textChanged(KTextEditor::Document*,KTextEditor::Range,KTextEditor::Range)),
                
-             this, SLOT(slotTextChanged(KTextEditor::Document*,KTextEditor::Range)));
  disconnect(doc(), SIGNAL(textInserted(KTextEditor::Document*,KTextEditor::Range)),
              this, SLOT(slotTextChanged(KTextEditor::Document*,KTextEditor::Range)));
  disconnect(doc(), SIGNAL(textRemoved(KTextEditor::Document*,KTextEditor::Range)),


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

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