mirror of
https://github.com/subsurface/subsurface.git
synced 2024-11-28 05:00:20 +00:00
subsurface: Change Q_UNUSED to no parameter name
C++ permits use of parameters without name, which signals unused Signed-off-by: Jan Iversen <jani@apache.org>
This commit is contained in:
parent
b0e48a5e8f
commit
e47f6df076
1 changed files with 1 additions and 2 deletions
|
@ -220,9 +220,8 @@ exit:
|
|||
}
|
||||
|
||||
// install this message handler primarily so that the Windows build can log to files
|
||||
void messageHandler(QtMsgType type, const QMessageLogContext &ctx, const QString &msg)
|
||||
void messageHandler(QtMsgType type, const QMessageLogContext&, const QString &msg)
|
||||
{
|
||||
Q_UNUSED(ctx);
|
||||
QByteArray localMsg = msg.toUtf8();
|
||||
switch (type) {
|
||||
case QtDebugMsg:
|
||||
|
|
Loading…
Reference in a new issue