D20064 enhances GDriveUrl with new constants and some of the same logic used in KIOGDrive. This patch refactors KIOGDrive to make use of it.
Details
Details
Diff Detail
Diff Detail
- Branch
- D20941_2
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 11956 Build 11974: arc lint + arc unit
src/kio_gdrive.cpp | ||
---|---|---|
84 | I wouldn't bother with this honestly. I think it's better to be explicit here (also to keep consistency with other kioslaves). | |
889 | This variable is actually useless, we could just use destGDriveUrl.filename() in the setTitle() call below. | |
1058–1061 | Same here, just use: destFile->setTitle(destGDriveUrl.filename()); |