Commit cc5a0e8e authored by Martin Straka's avatar Martin Straka

Minor code refactoring

parent 0f91a37d
......@@ -75,7 +75,6 @@ public:
* @param[in] srcFilePaths List of file paths to be saved into iCloud.
* @param[in] targetPath Target iCloud path where files will store.
*/
Q_INVOKABLE static
void storeFilesToCloud(const QStringList &srcFilePaths,
const QString &targetPath);
......
......@@ -653,10 +653,9 @@ void exportFilesiOS(const QStringList &destFilePaths,
int ret = msgBox.exec();
if (ret == QMessageBox::Yes) {
ICloudHelper::storeFilesToCloud(destFilePaths, targetDir);
GlobInstcs::iCloudHelperPtr->storeFilesToCloud(destFilePaths, targetDir);
} else if (ret == QMessageBox::No) {
ICloudHelper ich;
ich.storeFilesToDeviceStorage(destFilePaths);
GlobInstcs::iCloudHelperPtr->storeFilesToDeviceStorage(destFilePaths);
}
}
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment