summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAllen Winter <[email protected]>2016-05-28 15:26:42 -0400
committerAllen Winter <[email protected]>2016-05-28 15:26:42 -0400
commit36ac9808e5271bf4971b84e63dda0fc6eceb17ff (patch)
tree0771a4371920a3260e35da304f379620b6935043
parentedeeb6dbc90df04c6fa9c4f4b7efef3ec3aea9ff (diff)
-Wunused
-rw-r--r--messageviewer/src/viewer/viewer_p.cpp2
-rw-r--r--messageviewer/src/viewer/webengine/mailwebengineview.cpp5
-rw-r--r--webengineviewer/src/webengineview.cpp3
3 files changed, 10 insertions, 0 deletions
diff --git a/messageviewer/src/viewer/viewer_p.cpp b/messageviewer/src/viewer/viewer_p.cpp
index 910731e..840cedb 100644
--- a/messageviewer/src/viewer/viewer_p.cpp
+++ b/messageviewer/src/viewer/viewer_p.cpp
@@ -2223,6 +2223,8 @@ void ViewerPrivate::slotPdfCreated(const QString &filename)
WebEngineViewer::PrintPreviewDialog dlg(q);
dlg.loadFile(filename, true);
dlg.exec();
+#else
+ Q_UNUSED(filename);
#endif
}
diff --git a/messageviewer/src/viewer/webengine/mailwebengineview.cpp b/messageviewer/src/viewer/webengine/mailwebengineview.cpp
index 5a26697..434fe36 100644
--- a/messageviewer/src/viewer/webengine/mailwebengineview.cpp
+++ b/messageviewer/src/viewer/webengine/mailwebengineview.cpp
@@ -157,16 +157,19 @@ void MailWebEngineView::forwardKeyReleaseEvent(QKeyEvent *e)
void MailWebEngineView::forwardMousePressEvent(QMouseEvent *event)
{
+ Q_UNUSED(event);
//qDebug()<<" void MailWebEngineView::forwardMousePressEvent(QMouseEvent *event)";
}
void MailWebEngineView::forwardMouseMoveEvent(QMouseEvent *event)
{
+ Q_UNUSED(event);
//qDebug() << "void MailWebEngineView::forwardMouseMoveEvent(QMouseEvent *event)";
}
void MailWebEngineView::forwardMouseReleaseEvent(QMouseEvent *event)
{
+ Q_UNUSED(event);
//qDebug() << "void MailWebEngineView::forwardMouseReleaseEvent(QMouseEvent *event)";
}
@@ -352,6 +355,7 @@ void MailWebEngineView::slotLoadFinished()
void MailWebEngineView::dragEnterEvent(QDragEnterEvent *event)
{
+ Q_UNUSED(event);
qDebug() << " void MailWebEngineView::dragEnterEvent(QDragEnterEvent *event)";
}
@@ -364,5 +368,6 @@ void MailWebEngineView::dragMoveEvent(QDragMoveEvent *e)
void MailWebEngineView::dropEvent(QDropEvent *e)
{
+ Q_UNUSED(e);
qDebug() << " MailWebEngineView::dropEvent";
}
diff --git a/webengineviewer/src/webengineview.cpp b/webengineviewer/src/webengineview.cpp
index 7099eff..036c276 100644
--- a/webengineviewer/src/webengineview.cpp
+++ b/webengineviewer/src/webengineview.cpp
@@ -104,16 +104,19 @@ void WebEngineView::forwardMouseReleaseEvent(QMouseEvent *event)
void WebEngineView::dragMoveEvent(QDragMoveEvent *e)
{
+ Q_UNUSED(e);
qDebug()<<" void WebEngineView::dragMoveEvent(QDragMoveEvent *e)";
}
void WebEngineView::dragEnterEvent(QDragEnterEvent *event)
{
+ Q_UNUSED(event);
qDebug()<<" void WebEngineView::dragEnterEvent(QDragEnterEvent *event)";
}
void WebEngineView::dropEvent(QDropEvent *e)
{
+ Q_UNUSED(e);
qDebug()<<" WebEngineView::dropEvent ";
}