mirror of https://github.com/KDE/kasts.git
Small fixes in androidlogging.h
This commit is contained in:
parent
70024b0865
commit
bd738610bc
|
@ -6,11 +6,16 @@
|
||||||
|
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#include <QByteArray>
|
||||||
|
#include <QString>
|
||||||
|
|
||||||
#include <android/log.h>
|
#include <android/log.h>
|
||||||
|
|
||||||
const char *applicationName = "org.kde.kasts";
|
const char *applicationName = "org.kde.kasts";
|
||||||
void myMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg)
|
void myMessageHandler(QtMsgType type, const QMessageLogContext &context, const QString &msg)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(context)
|
||||||
|
|
||||||
QByteArray localMsg = msg.toLocal8Bit();
|
QByteArray localMsg = msg.toLocal8Bit();
|
||||||
// const char *file = context.file ? context.file : "";
|
// const char *file = context.file ? context.file : "";
|
||||||
// const char *function = context.function ? context.function : "";
|
// const char *function = context.function ? context.function : "";
|
||||||
|
|
Loading…
Reference in New Issue