Commit 16ab5662 authored by Hans-Christian Ebke's avatar Hans-Christian Ebke

Making filename suggestions backward compatible.

The old filename suggestion logic always suggested a 7-digit counter. The
fallback for the new logic should be a 7-digit counter as well.


git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@20969 383ad7c9-94d9-4d36-a494-682f7c89f535
parent c1bdfaf4
......@@ -392,7 +392,7 @@ void CoreWidget::slotExaminerSnapshot() {
static QString suggestSnapshotFilename(QString mostRecentPath) {
if (mostRecentPath.isEmpty()) {
mostRecentPath = QString("%1%2snap.000000.png")
mostRecentPath = QString("%1%2snap.0000000.png")
.arg(OpenFlipperSettings().value("Core/CurrentDir").toString())
.arg(QDir::separator());
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment