summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2019-05-27 15:18:29 +0900
committerMichele Calgaro <[email protected]>2019-05-27 15:18:29 +0900
commit49f7ae76d8cb649a2dffdb112f573ba5ffeeea8f (patch)
treefc64ba1fa653a835444343b8faf0fb04b4b5a543
parenta88dc83c1c77361ba64b854c03dd8ca06889205e (diff)
downloaddigikam-49f7ae76d8cb649a2dffdb112f573ba5ffeeea8f.tar.gz
digikam-49f7ae76d8cb649a2dffdb112f573ba5ffeeea8f.zip
Adjusted to latest TQVariant::TQVariant(bool) function.
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--digikam/utilities/cameragui/cameracontroller.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/digikam/utilities/cameragui/cameracontroller.cpp b/digikam/utilities/cameragui/cameracontroller.cpp
index e288e608..a080f772 100644
--- a/digikam/utilities/cameragui/cameracontroller.cpp
+++ b/digikam/utilities/cameragui/cameracontroller.cpp
@@ -768,17 +768,17 @@ void CameraController::download(DownloadSettingsContainer downloadSettings)
cmd->map.insert("folder", TQVariant(downloadSettings.folder));
cmd->map.insert("file", TQVariant(downloadSettings.file));
cmd->map.insert("dest", TQVariant(downloadSettings.dest));
- cmd->map.insert("autoRotate", TQVariant(downloadSettings.autoRotate, 0));
- cmd->map.insert("fixDateTime", TQVariant(downloadSettings.fixDateTime, 0));
+ cmd->map.insert("autoRotate", TQVariant(downloadSettings.autoRotate));
+ cmd->map.insert("fixDateTime", TQVariant(downloadSettings.fixDateTime));
cmd->map.insert("newDateTime", TQVariant(downloadSettings.newDateTime));
- cmd->map.insert("setPhotographerId", TQVariant(downloadSettings.setPhotographerId, 0));
+ cmd->map.insert("setPhotographerId", TQVariant(downloadSettings.setPhotographerId));
cmd->map.insert("author", TQVariant(downloadSettings.author));
cmd->map.insert("authorTitle", TQVariant(downloadSettings.authorTitle));
- cmd->map.insert("setCredits", TQVariant(downloadSettings.setCredits, 0));
+ cmd->map.insert("setCredits", TQVariant(downloadSettings.setCredits));
cmd->map.insert("credit", TQVariant(downloadSettings.credit));
cmd->map.insert("source", TQVariant(downloadSettings.source));
cmd->map.insert("copyright", TQVariant(downloadSettings.copyright));
- cmd->map.insert("convertJpeg", TQVariant(downloadSettings.convertJpeg, 0));
+ cmd->map.insert("convertJpeg", TQVariant(downloadSettings.convertJpeg));
cmd->map.insert("losslessFormat", TQVariant(downloadSettings.losslessFormat));
d->cmdQueue.enqueue(cmd);
}
@@ -800,7 +800,7 @@ void CameraController::lockFile(const TQString& folder, const TQString& file, bo
cmd->action = CameraCommand::gp_lock;
cmd->map.insert("folder", TQVariant(folder));
cmd->map.insert("file", TQVariant(file));
- cmd->map.insert("lock", TQVariant(lock, 0));
+ cmd->map.insert("lock", TQVariant(lock));
d->cmdQueue.enqueue(cmd);
}