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
@ -220,9 +220,8 @@ exit:
|
|||||||
}
|
}
|
||||||
|
|
||||||
// install this message handler primarily so that the Windows build can log to files
|
// 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();
|
QByteArray localMsg = msg.toUtf8();
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case QtDebugMsg:
|
case QtDebugMsg:
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user