Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Datovka projects
mobile Datovka
Commits
cc5a0e8e
Commit
cc5a0e8e
authored
Jan 10, 2019
by
Martin Straka
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Minor code refactoring
parent
0f91a37d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
src/auxiliaries/icloud_helper.h
src/auxiliaries/icloud_helper.h
+0
-1
src/files.cpp
src/files.cpp
+2
-3
No files found.
src/auxiliaries/icloud_helper.h
View file @
cc5a0e8e
...
...
@@ -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
);
...
...
src/files.cpp
View file @
cc5a0e8e
...
...
@@ -653,10 +653,9 @@ void exportFilesiOS(const QStringList &destFilePaths,
int
ret
=
msgBox
.
exec
();
if
(
ret
==
QMessageBox
::
Yes
)
{
I
CloudHelper
::
storeFilesToCloud
(
destFilePaths
,
targetDir
);
GlobInstcs
::
i
CloudHelper
Ptr
->
storeFilesToCloud
(
destFilePaths
,
targetDir
);
}
else
if
(
ret
==
QMessageBox
::
No
)
{
ICloudHelper
ich
;
ich
.
storeFilesToDeviceStorage
(
destFilePaths
);
GlobInstcs
::
iCloudHelperPtr
->
storeFilesToDeviceStorage
(
destFilePaths
);
}
}
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment