diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-04 20:31:22 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-08-04 20:31:22 +0200 |
commit | c85e4d240cb6061b8f121b0a64b902503ce6c96f (patch) | |
tree | bdc96f99abe6d5342e8dd53f1c544944145021c1 | |
parent | Deal with tall photos (diff) | |
download | clockphoto-c85e4d240cb6061b8f121b0a64b902503ce6c96f.tar.xz clockphoto-c85e4d240cb6061b8f121b0a64b902503ce6c96f.zip |
-rw-r--r-- | widget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -10,7 +10,7 @@ Widget::Widget(const QStringList &photos, const QString &dir, const QString &clockPhoto, QWidget *parent) : QDialog(parent) { QProcess p; - p.start("exiv2", QStringList() << clockPhoto << "-K" << "Exif.Image.DateTime" << "-Pv", QProcess::ReadOnly); + p.start("exiv2", QStringList() << "-K" << "Exif.Image.DateTime" << "-Pv" << clockPhoto, QProcess::ReadOnly); p.waitForFinished(-1); const QDateTime clockDate = QDateTime::fromString(p.readAllStandardOutput(), "yyyy:MM:dd HH:mm:ss\n"); setWindowTitle(tr("Clock Photo Time Adjuster")); |