fix utf8 without bom

This commit is contained in:
zhuzihcu
2023-05-22 16:17:51 +08:00
parent 038a2dd598
commit f802838847
156 changed files with 156 additions and 162 deletions

View File

@ -1,4 +1,4 @@
#include "AppInfo.h"
#include "AppInfo.h"
#include "lang/En.h"
#include "lang/Zh.h"
#include <QDebug>
@ -26,5 +26,4 @@ void AppInfo::changeLang(const QString& locale){
}else {
lang(new En());
}
}

View File

@ -1,4 +1,4 @@
#ifndef APPINFO_H
#ifndef APPINFO_H
#define APPINFO_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include "En.h"
#include "En.h"
En::En(QObject *parent)
: Lang{parent}

View File

@ -1,4 +1,4 @@
#ifndef EN_H
#ifndef EN_H
#define EN_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#ifndef LANG_H
#ifndef LANG_H
#define LANG_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include "Zh.h"
#include "Zh.h"
Zh::Zh(QObject *parent)
: Lang{parent}

View File

@ -1,4 +1,4 @@
#ifndef ZH_H
#ifndef ZH_H
#define ZH_H
#include <QObject>

View File

@ -1,4 +1,4 @@
#include <QGuiApplication>
#include <QGuiApplication>
#include <QQmlApplicationEngine>
#include <QQmlContext>
#include <QDir>

View File

@ -1,4 +1,4 @@
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
#if defined(_MSC_VER) && (_MSC_VER >= 1600)
#pragma execution_character_set("utf-8")
#endif

View File

@ -1,4 +1,4 @@
#include "IPC.h"
#include "IPC.h"
#include <QCoreApplication>
#include <QDebug>

View File

@ -1,4 +1,4 @@
#ifndef IPC_H
#ifndef IPC_H
#define IPC_H
#include <QMap>