src/GUI/QtLauncher.cxx: fix call to sglog() to pass __FUNCTION__.
This commit is contained in:
parent
63fe407d80
commit
68938ddb4b
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ static void simgearMessageOutput(QtMsgType type, const QMessageLogContext &conte
|
|||
const char* file = context.file ? context.file : nullFile;
|
||||
const auto s = msg.toStdString();
|
||||
// important we copy the file name here, since QMessageLogContext doesn't
|
||||
sglog().logCopyingFilename(SG_GUI, mappedPriority, file, context.line, s);
|
||||
sglog().logCopyingFilename(SG_GUI, mappedPriority, file, context.line, "" /*function*/, s);
|
||||
if (type == QtFatalMsg) {
|
||||
abort();
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue