author | hash <hash> | 2002-09-29 18:47:40 (UTC) |
---|---|---|
committer | hash <hash> | 2002-09-29 18:47:40 (UTC) |
commit | ef6ab2eb7794f5c5b9faad1ed650424e39b8d011 (patch) (unidiff) | |
tree | 90a03f5f49a4fbc576ce60aa5aee0448c711da2f /inputmethods | |
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 | 7 | ||||
-rw-r--r-- | inputmethods/handwriting/qimpensetup.cpp | 2 |
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 | |||
@@ -254,6 +254,7 @@ void QIMPenInput::loadProfiles() | |||
254 | } | 254 | } |
255 | } | 255 | } |
256 | 256 | ||
257 | |||
257 | Config config( "handwriting" ); | 258 | Config config( "handwriting" ); |
258 | config.setGroup( "Settings" ); | 259 | config.setGroup( "Settings" ); |
259 | QString prof = config.readEntry( "Profile", "Default" ); | 260 | QString prof = config.readEntry( "Profile", "Default" ); |
@@ -270,8 +271,10 @@ void QIMPenInput::selectProfile( const QString &name ) | |||
270 | } | 271 | } |
271 | } | 272 | } |
272 | 273 | ||
273 | if ( !it.current() ) | 274 | if ( !it.current() ) { |
274 | return; | 275 | qWarning("No profile selected!\n"); |
276 | return; | ||
277 | } | ||
275 | 278 | ||
276 | pw->clearCharSets(); | 279 | pw->clearCharSets(); |
277 | baseSets.clear(); | 280 | baseSets.clear(); |
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 | |||
@@ -93,7 +93,7 @@ QIMPenSetup::QIMPenSetup( QIMPenProfile *p, QWidget *parent, | |||
93 | 93 | ||
94 | QVBoxLayout *vb = new QVBoxLayout( this ); | 94 | QVBoxLayout *vb = new QVBoxLayout( this ); |
95 | 95 | ||
96 | #if 0 | 96 | #if 1 |
97 | profileList.setAutoDelete( true ); | 97 | profileList.setAutoDelete( true ); |
98 | QHBoxLayout *hb = new QHBoxLayout( vb ); | 98 | QHBoxLayout *hb = new QHBoxLayout( vb ); |
99 | hb->setMargin( 6 ); | 99 | hb->setMargin( 6 ); |