mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +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
|
// 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…
Add table
Reference in a new issue