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
- Lint
No Linters Available - Unit
No Unit Test Coverage - Build Status
Buildable 11419 Build 11437: 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). | |
884–885 | This variable is actually useless, we could just use destGDriveUrl.filename() in the setTitle() call below. | |
1053–1056 | Same here, just use: destFile->setTitle(destGDriveUrl.filename()); |