Commit 36ac9808 authored by Allen Winter's avatar Allen Winter

-Wunused

parent edeeb6db
...@@ -2223,6 +2223,8 @@ void ViewerPrivate::slotPdfCreated(const QString &filename) ...@@ -2223,6 +2223,8 @@ void ViewerPrivate::slotPdfCreated(const QString &filename)
WebEngineViewer::PrintPreviewDialog dlg(q); WebEngineViewer::PrintPreviewDialog dlg(q);
dlg.loadFile(filename, true); dlg.loadFile(filename, true);
dlg.exec(); dlg.exec();
#else
Q_UNUSED(filename);
#endif #endif
} }
......
...@@ -157,16 +157,19 @@ void MailWebEngineView::forwardKeyReleaseEvent(QKeyEvent *e) ...@@ -157,16 +157,19 @@ void MailWebEngineView::forwardKeyReleaseEvent(QKeyEvent *e)
void MailWebEngineView::forwardMousePressEvent(QMouseEvent *event) void MailWebEngineView::forwardMousePressEvent(QMouseEvent *event)
{ {
Q_UNUSED(event);
//qDebug()<<" void MailWebEngineView::forwardMousePressEvent(QMouseEvent *event)"; //qDebug()<<" void MailWebEngineView::forwardMousePressEvent(QMouseEvent *event)";
} }
void MailWebEngineView::forwardMouseMoveEvent(QMouseEvent *event) void MailWebEngineView::forwardMouseMoveEvent(QMouseEvent *event)
{ {
Q_UNUSED(event);
//qDebug() << "void MailWebEngineView::forwardMouseMoveEvent(QMouseEvent *event)"; //qDebug() << "void MailWebEngineView::forwardMouseMoveEvent(QMouseEvent *event)";
} }
void MailWebEngineView::forwardMouseReleaseEvent(QMouseEvent *event) void MailWebEngineView::forwardMouseReleaseEvent(QMouseEvent *event)
{ {
Q_UNUSED(event);
//qDebug() << "void MailWebEngineView::forwardMouseReleaseEvent(QMouseEvent *event)"; //qDebug() << "void MailWebEngineView::forwardMouseReleaseEvent(QMouseEvent *event)";
} }
...@@ -352,6 +355,7 @@ void MailWebEngineView::slotLoadFinished() ...@@ -352,6 +355,7 @@ void MailWebEngineView::slotLoadFinished()
void MailWebEngineView::dragEnterEvent(QDragEnterEvent *event) void MailWebEngineView::dragEnterEvent(QDragEnterEvent *event)
{ {
Q_UNUSED(event);
qDebug() << " void MailWebEngineView::dragEnterEvent(QDragEnterEvent *event)"; qDebug() << " void MailWebEngineView::dragEnterEvent(QDragEnterEvent *event)";
} }
...@@ -364,5 +368,6 @@ void MailWebEngineView::dragMoveEvent(QDragMoveEvent *e) ...@@ -364,5 +368,6 @@ void MailWebEngineView::dragMoveEvent(QDragMoveEvent *e)
void MailWebEngineView::dropEvent(QDropEvent *e) void MailWebEngineView::dropEvent(QDropEvent *e)
{ {
Q_UNUSED(e);
qDebug() << " MailWebEngineView::dropEvent"; qDebug() << " MailWebEngineView::dropEvent";
} }
...@@ -104,16 +104,19 @@ void WebEngineView::forwardMouseReleaseEvent(QMouseEvent *event) ...@@ -104,16 +104,19 @@ void WebEngineView::forwardMouseReleaseEvent(QMouseEvent *event)
void WebEngineView::dragMoveEvent(QDragMoveEvent *e) void WebEngineView::dragMoveEvent(QDragMoveEvent *e)
{ {
Q_UNUSED(e);
qDebug()<<" void WebEngineView::dragMoveEvent(QDragMoveEvent *e)"; qDebug()<<" void WebEngineView::dragMoveEvent(QDragMoveEvent *e)";
} }
void WebEngineView::dragEnterEvent(QDragEnterEvent *event) void WebEngineView::dragEnterEvent(QDragEnterEvent *event)
{ {
Q_UNUSED(event);
qDebug()<<" void WebEngineView::dragEnterEvent(QDragEnterEvent *event)"; qDebug()<<" void WebEngineView::dragEnterEvent(QDragEnterEvent *event)";
} }
void WebEngineView::dropEvent(QDropEvent *e) void WebEngineView::dropEvent(QDropEvent *e)
{ {
Q_UNUSED(e);
qDebug()<<" WebEngineView::dropEvent "; qDebug()<<" WebEngineView::dropEvent ";
} }
......
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