mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
refs #780, "qUtf8Printable" fixes
https://dev.vatsim-germany.org/issues/780#note-9 number 2
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#include "blackmisc/pq/units.h"
|
||||
#include "blackmisc/propertyindex.h"
|
||||
#include "blackmisc/variant.h"
|
||||
#include "blackmisc/verify.h"
|
||||
|
||||
#include <QtGlobal>
|
||||
|
||||
@@ -156,7 +157,7 @@ namespace BlackMisc
|
||||
break;
|
||||
}
|
||||
const QString assertMsg("No comparison for index " + index.toQString());
|
||||
Q_ASSERT_X(false, Q_FUNC_INFO, assertMsg.toLocal8Bit().constData());
|
||||
BLACK_VERIFY_X(false, Q_FUNC_INFO, qUtf8Printable(assertMsg));
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user