Starting to get rid of Q_UNUSED declarations for unused function parameters.
[metze/wireshark/wip.git] / ui / qt / splash_overlay.cpp
index 4d891acc0042d2ca68747f4bd89999528d21fc24..18242ed0adb9628761cf16b576cf7dda42fd02bd 100644 (file)
@@ -37,9 +37,7 @@
  */
 int info_update_freq_ = 100;
 
-void splash_update(register_action_e action, const char *message, void *dummy) {
-    Q_UNUSED(dummy);
-
+void splash_update(register_action_e action, const char *message, void *) {
     emit wsApp->registerUpdate(action, message);
 }
 
@@ -176,10 +174,8 @@ void SplashOverlay::splashUpdate(register_action_e action, const char *message)
     time_.restart();
 }
 
-void SplashOverlay::paintEvent(QPaintEvent *event)
+void SplashOverlay::paintEvent(QPaintEvent *)
 {
-    Q_UNUSED(event);
-
     QPainter painter(this);
 
     painter.setRenderHint(QPainter::Antialiasing);