Skip to content

Commit

Permalink
支持MP4录制
Browse files Browse the repository at this point in the history
  • Loading branch information
liangzhuohua committed Jun 15, 2024
1 parent 916351f commit a18afb8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/QmlNativeAPI.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,9 @@ class QmlNativeAPI : public QObject {
}
explicit QmlNativeAPI(QObject *parent = nullptr) : QObject(parent){
// load config
mINI::Instance().parseFile(CONFIG_FILE);
try{
mINI::Instance().parseFile(CONFIG_FILE);
} catch (...) {}
};
// Get config
Q_INVOKABLE QJsonObject GetConfig(){
Expand Down

0 comments on commit a18afb8

Please sign in to comment.