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

List:       kde-commits
Subject:    kdesdk/kbabel/kbabeldict
From:       Stanislav Visnovsky <visnovsky () nenya ! ms ! mff ! cuni ! cz>
Date:       2002-12-16 13:15:01
[Download RAW message or body]

CVS commit by nanulo: 

Cleanup mapper


  M +5 -1      dictionarymenu.cpp   1.11


--- kdesdk/kbabel/kbabeldict/dictionarymenu.cpp  #1.10:1.11
@@ -68,5 +68,9 @@ void DictionaryMenu::clear()
    num2id.clear();
    
-   // FIXME: we should clear the mapper as well
+   // create new mapper
+   delete dictionaryMapper;
+   dictionaryMapper = new QSignalMapper( this );
+   connect( dictionaryMapper, SIGNAL( mapped( int ) ),
+            this, SLOT( activated( int ) ) );
 }
 


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

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