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