|
|
@@ -273,6 +273,11 @@ void MainWindow::onConfigureUpdate(const QString &filename)
|
|
|
LOG_ERROR("remove current monitor configure failed");
|
|
|
return;
|
|
|
}
|
|
|
+ } else {
|
|
|
+ QFileInfo fileInfo(dstFileName);
|
|
|
+ QDir dir = fileInfo.absoluteDir();
|
|
|
+ if(!dir.exists())
|
|
|
+ dir.mkpath(dir.path());
|
|
|
}
|
|
|
|
|
|
LOG_INFO("begin copy new monitor configure...");
|