Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Okular
Commits
962af72c
Commit
962af72c
authored
Jul 24, 2016
by
Martin Tobias Holmedahl Sandsmark
Browse files
Silence some warnings
parent
d9a31fa0
Changes
3
Hide whitespace changes
Inline
Side-by-side
ui/formwidgets.cpp
View file @
962af72c
...
@@ -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
;
...
...
ui/pageview.cpp
View file @
962af72c
...
@@ -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
;
};
};
}
}
...
...
ui/presentationwidget.cpp
View file @
962af72c
...
@@ -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
;
};
};
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment