Changeset View
Changeset View
Standalone View
Standalone View
plugins/ocr/abstractocrdialogue.cpp
Show First 20 Lines • Show All 439 Lines • ▼ Show 20 Line(s) | 439 | { | |||
---|---|---|---|---|---|
440 | return (m_verboseDebug); | 440 | return (m_verboseDebug); | ||
441 | } | 441 | } | ||
442 | 442 | | |||
443 | 443 | | |||
444 | void AbstractOcrDialogue::slotGotPreview(const KFileItem &item, const QPixmap &newPix) | 444 | void AbstractOcrDialogue::slotGotPreview(const KFileItem &item, const QPixmap &newPix) | ||
445 | { | 445 | { | ||
446 | //qDebug() << "pixmap" << newPix.size(); | 446 | //qDebug() << "pixmap" << newPix.size(); | ||
447 | if (m_previewPix != nullptr) { | 447 | if (m_previewPix != nullptr) { | ||
448 | m_previewPix->setText(QString::null); | 448 | m_previewPix->setText(QString()); | ||
449 | m_previewPix->setPixmap(newPix); | 449 | m_previewPix->setPixmap(newPix); | ||
450 | } | 450 | } | ||
451 | } | 451 | } | ||
452 | 452 | | |||
453 | 453 | | |||
454 | void AbstractOcrDialogue::slotWriteConfig() | 454 | void AbstractOcrDialogue::slotWriteConfig() | ||
455 | { | 455 | { | ||
456 | KookaSettings::setOcrSpellBackgroundCheck(m_gbBackgroundCheck->isChecked()); | 456 | KookaSettings::setOcrSpellBackgroundCheck(m_gbBackgroundCheck->isChecked()); | ||
▲ Show 20 Lines • Show All 80 Lines • Show Last 20 Lines |