Silence some warnings

frameworks
Martin T. H. Sandsmark 10 years ago
parent d9a31fa02a
commit 962af72cc1
  1. 3
      ui/formwidgets.cpp
  2. 2
      ui/pageview.cpp
  3. 2
      ui/presentationwidget.cpp

@ -503,6 +503,7 @@ void FormLineEdit::slotHandleTextChangedByUndoRedo( int pageNumber,
int cursorPos,
int anchorPos )
{
Q_UNUSED(pageNumber);
if ( textForm != m_form || contents == text() )
{
return;
@ -596,6 +597,7 @@ void TextAreaEdit::slotHandleTextChangedByUndoRedo( int pageNumber,
int cursorPos,
int anchorPos )
{
Q_UNUSED(pageNumber);
if ( textForm != m_form )
{
return;
@ -741,6 +743,7 @@ void FileEdit::slotHandleFileChangedByUndoRedo( int pageNumber,
int cursorPos,
int anchorPos )
{
Q_UNUSED(pageNumber);
if ( form != m_form || contents == text() )
{
return;

@ -5292,6 +5292,8 @@ void PageView::slotProcessRenditionAction( const Okular::RenditionAction *action
case Okular::RenditionAction::Resume:
vw->play();
break;
default:
return;
};
}

@ -2304,6 +2304,8 @@ void PresentationWidget::slotProcessRenditionAction( const Okular::RenditionActi
case Okular::RenditionAction::Resume:
vw->play();
break;
default:
return;
};
}

Loading…
Cancel
Save