From ef6ab2eb7794f5c5b9faad1ed650424e39b8d011 Mon Sep 17 00:00:00 2001 From: hash Date: Sun, 29 Sep 2002 18:47:40 +0000 Subject: enabled profile selection which was already in there\! --- (limited to 'inputmethods/handwriting/qimpeninput.cpp') 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() } } + Config config( "handwriting" ); config.setGroup( "Settings" ); QString prof = config.readEntry( "Profile", "Default" ); @@ -270,8 +271,10 @@ void QIMPenInput::selectProfile( const QString &name ) } } - if ( !it.current() ) - return; + if ( !it.current() ) { + qWarning("No profile selected!\n"); + return; + } pw->clearCharSets(); baseSets.clear(); -- cgit v0.9.0.2