author | hash <hash> | 2002-09-29 18:47:40 (UTC) |
---|---|---|
committer | hash <hash> | 2002-09-29 18:47:40 (UTC) |
commit | ef6ab2eb7794f5c5b9faad1ed650424e39b8d011 (patch) (side-by-side diff) | |
tree | 90a03f5f49a4fbc576ce60aa5aee0448c711da2f | |
parent | 0d4b54af104dadbff57804e5e6f8ac309aa36fc4 (diff) | |
download | opie-ef6ab2eb7794f5c5b9faad1ed650424e39b8d011.zip opie-ef6ab2eb7794f5c5b9faad1ed650424e39b8d011.tar.gz opie-ef6ab2eb7794f5c5b9faad1ed650424e39b8d011.tar.bz2 |
enabled profile selection which was already in there\!
-rw-r--r-- | inputmethods/handwriting/qimpeninput.cpp | 5 | ||||
-rw-r--r-- | inputmethods/handwriting/qimpensetup.cpp | 2 |
2 files changed, 5 insertions, 2 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() ) + 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 ); |