Fix a missing brace if HAVE_SPEECH is not defined

Possibly introduced by commit 50d0703a.

part/pageview.cpp: In member function 'virtual void PageView::mouseReleaseEvent(QMouseEvent*)':
part/pageview.cpp:3077: error: expected '}' before 'else'
part/pageview.cpp:3069: note: to match this '{'
remotes/origin/work/fhek/foreground_background_text
Jonathan Marten 4 years ago
parent bd838008a3
commit adc7a75803
  1. 2
      part/pageview.cpp

@ -3072,8 +3072,8 @@ void PageView::mouseReleaseEvent(QMouseEvent *e)
} else if (choice == speakText) { } else if (choice == speakText) {
const QString text = d->selectedText(); const QString text = d->selectedText();
d->tts()->say(text); d->tts()->say(text);
}
#endif #endif
}
else if (choice == httpLink) { else if (choice == httpLink) {
new KRun(QUrl(url), this); new KRun(QUrl(url), this);
} }

Loading…
Cancel
Save