[Kde-accessibility] kdeaccessibility/kmouth

Gunnar Schmidt gunnar at schmi-dt.de
Sun Dec 28 12:26:07 CET 2003


CVS commit by gunnar: 

Bugfix for the edit menu items

Without this patch the items in the edit menu (also in the context menu of the history items) won't work.
See http://lists.kde.org/?l=kde-accessibility&m=107109975317708&w=2

Reviewed by ojschmidt
CCMAIL:kde-a11y at kde.org


  M +3 -4      kmouth.cpp   1.15


--- kdeaccessibility/kmouth/kmouth.cpp  #1.14:1.15
@@ -45,13 +45,15 @@ KMouthApp::KMouthApp(QWidget* , const ch
    isConfigured = false;
    config=kapp->config();
-   phraseList = 0;
 
    ///////////////////////////////////////////////////////////////////
    // call inits to invoke all other construction parts
    initStatusBar();
+   initPhraseList();
    initActions();
    optionsDialog = new OptionsDialog(this);
    connect (optionsDialog, SIGNAL(configurationChanged ()),
             this, SLOT(slotConfigurationChanged ()));
+   connect (optionsDialog, SIGNAL(configurationChanged ()),
+            phraseList, SLOT(configureCompletion ()));
 
    phrases = new KActionCollection (this);
@@ -74,7 +76,4 @@ KMouthApp::KMouthApp(QWidget* , const ch
 
    if (isConfigured) {
-      initPhraseList();
-      connect (optionsDialog, SIGNAL(configurationChanged ()),
-               phraseList, SLOT(configureCompletion ()));
       phraseList->configureCompletion();
    }




More information about the kde-accessibility mailing list