mirror of
https://github.com/zhuzichu520/FluentUI.git
synced 2025-07-03 08:35:28 +08:00
fix utf8 without bom
This commit is contained in:
@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#ifndef APPINFO_H
|
||||
#ifndef APPINFO_H
|
||||
#define APPINFO_H
|
||||
|
||||
#include <QObject>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "En.h"
|
||||
#include "En.h"
|
||||
|
||||
En::En(QObject *parent)
|
||||
: Lang{parent}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#ifndef EN_H
|
||||
#ifndef EN_H
|
||||
#define EN_H
|
||||
|
||||
#include <QObject>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#ifndef LANG_H
|
||||
#ifndef LANG_H
|
||||
#define LANG_H
|
||||
|
||||
#include <QObject>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "Zh.h"
|
||||
#include "Zh.h"
|
||||
|
||||
Zh::Zh(QObject *parent)
|
||||
: Lang{parent}
|
||||
|
@ -1,4 +1,4 @@
|
||||
#ifndef ZH_H
|
||||
#ifndef ZH_H
|
||||
#define ZH_H
|
||||
|
||||
#include <QObject>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include <QGuiApplication>
|
||||
#include <QGuiApplication>
|
||||
#include <QQmlApplicationEngine>
|
||||
#include <QQmlContext>
|
||||
#include <QDir>
|
||||
|
@ -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
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
#include "IPC.h"
|
||||
#include "IPC.h"
|
||||
|
||||
#include <QCoreApplication>
|
||||
#include <QDebug>
|
||||
|
@ -1,4 +1,4 @@
|
||||
#ifndef IPC_H
|
||||
#ifndef IPC_H
|
||||
#define IPC_H
|
||||
|
||||
#include <QMap>
|
||||
|
Reference in New Issue
Block a user