Changeset View
Changeset View
Standalone View
Standalone View
plugins/ocr/kadmos/ocrkadmosdialog.cpp
Show First 20 Lines • Show All 282 Lines • ▼ Show 20 Line(s) | 282 | KMessageBox::error(0, i18n("The classifier files for KADMOS could not be found.\n" | |||
---|---|---|---|---|---|
283 | "OCR with KADMOS will not be possible.\n\n" | 283 | "OCR with KADMOS will not be possible.\n\n" | ||
284 | "Change the OCR engine in the preferences dialog."), | 284 | "Change the OCR engine in the preferences dialog."), | ||
285 | i18n("Installation Error")); | 285 | i18n("Installation Error")); | ||
286 | err = OcrEngine::ENG_BAD_SETUP; | 286 | err = OcrEngine::ENG_BAD_SETUP; | ||
287 | } else { | 287 | } else { | ||
288 | slotFontChanged(0); // Load machine print font language list | 288 | slotFontChanged(0); // Load machine print font language list | ||
289 | } | 289 | } | ||
290 | 290 | | |||
291 | ocrShowInfo(QString::null); | 291 | ocrShowInfo(QString()); | ||
292 | return err; | 292 | return err; | ||
293 | } | 293 | } | ||
294 | 294 | | |||
295 | void KadmosDialog::slotFontChanged(int id) | 295 | void KadmosDialog::slotFontChanged(int id) | ||
296 | { | 296 | { | ||
297 | m_cbLang->clear(); | 297 | m_cbLang->clear(); | ||
298 | 298 | | |||
299 | const KConfigGroup grp = KSharedConfig::openConfig()->group(CFG_GROUP_KADMOS); | 299 | const KConfigGroup grp = KSharedConfig::openConfig()->group(CFG_GROUP_KADMOS); | ||
▲ Show 20 Lines • Show All 152 Lines • Show Last 20 Lines |