summaryrefslogtreecommitdiff
path: root/inputmethods/handwriting
Side-by-side diff
Diffstat (limited to 'inputmethods/handwriting') (more/less context) (ignore whitespace changes)
-rw-r--r--inputmethods/handwriting/qimpeninput.cpp7
-rw-r--r--inputmethods/handwriting/qimpensetup.cpp2
2 files changed, 6 insertions, 3 deletions
diff --git a/inputmethods/handwriting/qimpeninput.cpp b/inputmethods/handwriting/qimpeninput.cpp
index 9acab8b..6a21931 100644
--- a/inputmethods/handwriting/qimpeninput.cpp
+++ b/inputmethods/handwriting/qimpeninput.cpp
@@ -255,4 +255,5 @@ void QIMPenInput::loadProfiles()
}
+
Config config( "handwriting" );
config.setGroup( "Settings" );
@@ -271,6 +272,8 @@ void QIMPenInput::selectProfile( const QString &name )
}
- if ( !it.current() )
- return;
+ if ( !it.current() ) {
+ qWarning("No profile selected!\n");
+ return;
+ }
pw->clearCharSets();
diff --git a/inputmethods/handwriting/qimpensetup.cpp b/inputmethods/handwriting/qimpensetup.cpp
index a6ae3a8..2c06fbc 100644
--- a/inputmethods/handwriting/qimpensetup.cpp
+++ b/inputmethods/handwriting/qimpensetup.cpp
@@ -94,5 +94,5 @@ QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent,
QVBoxLayout *vb = new QVBoxLayout( this );
-#if 0
+#if 1
profileList.setAutoDelete( true );
QHBoxLayout *hb = new QHBoxLayout( vb );