Commit 962af72c authored by Martin Tobias Holmedahl Sandsmark's avatar Martin Tobias Holmedahl Sandsmark
Browse files

Silence some warnings

parent d9a31fa0
...@@ -503,6 +503,7 @@ void FormLineEdit::slotHandleTextChangedByUndoRedo( int pageNumber, ...@@ -503,6 +503,7 @@ void FormLineEdit::slotHandleTextChangedByUndoRedo( int pageNumber,
int cursorPos, int cursorPos,
int anchorPos ) int anchorPos )
{ {
Q_UNUSED(pageNumber);
if ( textForm != m_form || contents == text() ) if ( textForm != m_form || contents == text() )
{ {
return; return;
...@@ -596,6 +597,7 @@ void TextAreaEdit::slotHandleTextChangedByUndoRedo( int pageNumber, ...@@ -596,6 +597,7 @@ void TextAreaEdit::slotHandleTextChangedByUndoRedo( int pageNumber,
int cursorPos, int cursorPos,
int anchorPos ) int anchorPos )
{ {
Q_UNUSED(pageNumber);
if ( textForm != m_form ) if ( textForm != m_form )
{ {
return; return;
...@@ -741,6 +743,7 @@ void FileEdit::slotHandleFileChangedByUndoRedo( int pageNumber, ...@@ -741,6 +743,7 @@ void FileEdit::slotHandleFileChangedByUndoRedo( int pageNumber,
int cursorPos, int cursorPos,
int anchorPos ) int anchorPos )
{ {
Q_UNUSED(pageNumber);
if ( form != m_form || contents == text() ) if ( form != m_form || contents == text() )
{ {
return; return;
......
...@@ -5292,6 +5292,8 @@ void PageView::slotProcessRenditionAction( const Okular::RenditionAction *action ...@@ -5292,6 +5292,8 @@ void PageView::slotProcessRenditionAction( const Okular::RenditionAction *action
case Okular::RenditionAction::Resume: case Okular::RenditionAction::Resume:
vw->play(); vw->play();
break; break;
default:
return;
}; };
} }
......
...@@ -2304,6 +2304,8 @@ void PresentationWidget::slotProcessRenditionAction( const Okular::RenditionActi ...@@ -2304,6 +2304,8 @@ void PresentationWidget::slotProcessRenditionAction( const Okular::RenditionActi
case Okular::RenditionAction::Resume: case Okular::RenditionAction::Resume:
vw->play(); vw->play();
break; break;
default:
return;
}; };
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment