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
- Lint
Lint Skipped - Unit
Unit Tests Skipped
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()); |