-rw-r--r-- | inputmethods/handwriting/qimpensetup.cpp | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/inputmethods/handwriting/qimpensetup.cpp b/inputmethods/handwriting/qimpensetup.cpp index 10c136d..2441102 100644 --- a/inputmethods/handwriting/qimpensetup.cpp +++ b/inputmethods/handwriting/qimpensetup.cpp | |||
@@ -95,3 +95,4 @@ QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent, | |||
95 | 95 | ||
96 | #if 0 | 96 | #define MULTIPROFILE |
97 | #ifdef MULTIPROFILE | ||
97 | profileList.setAutoDelete( true ); | 98 | profileList.setAutoDelete( true ); |
@@ -105,3 +106,2 @@ QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent, | |||
105 | hb->addWidget( profileCombo ); | 106 | hb->addWidget( profileCombo ); |
106 | loadProfiles(); | ||
107 | #else | 107 | #else |
@@ -109,2 +109,4 @@ QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent, | |||
109 | #endif | 109 | #endif |
110 | |||
111 | qWarning("profiles: %d", profileList.count()); | ||
110 | 112 | ||
@@ -132,2 +134,6 @@ QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent, | |||
132 | tw->addTab( edit, tr("Customize") ); | 134 | tw->addTab( edit, tr("Customize") ); |
135 | #ifdef MULTIPROFILE | ||
136 | loadProfiles(); | ||
137 | #endif | ||
138 | |||
133 | } | 139 | } |
@@ -147,2 +153,3 @@ void QIMPenSetup::loadProfiles() | |||
147 | profile = p; | 153 | profile = p; |
154 | edit->setProfile( profile ); | ||
148 | } | 155 | } |
@@ -565,2 +572,3 @@ void QIMPenEdit::addChar() | |||
565 | // Copy and mark deleted identical system characters. | 572 | // Copy and mark deleted identical system characters. |
573 | |||
566 | QIMPenCharIterator it(currentSet->characters() ); | 574 | QIMPenCharIterator it(currentSet->characters() ); |