diff options
| author | tv <tv@krebsco.de> | 2026-12-02 02:33:50 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-12-02 02:33:50 +0000 |
| commit | 0978084d2f68ca04e80cfb4dbf05ddba98432ac8 (patch) | |
| tree | 9057b78eb90c1f86316f1ac71b1fe4598c836be9 /pkgs/simple/flameshot-once/flameshot/flameshot-15.history.patch | |
| parent | 860aa9fb59d36b531ec46a90129c695dcd7808cc (diff) | |
flameshot-once: name flameshot's patches for 15
Renames only, so that history follows them into the bump to flameshot 15.
Diffstat (limited to 'pkgs/simple/flameshot-once/flameshot/flameshot-15.history.patch')
| -rw-r--r-- | pkgs/simple/flameshot-once/flameshot/flameshot-15.history.patch | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/simple/flameshot-once/flameshot/flameshot-15.history.patch b/pkgs/simple/flameshot-once/flameshot/flameshot-15.history.patch new file mode 100644 index 00000000..3626f5c7 --- /dev/null +++ b/pkgs/simple/flameshot-once/flameshot/flameshot-15.history.patch @@ -0,0 +1,28 @@ +diff --git a/src/utils/history.cpp b/src/utils/history.cpp +index 877e6195..7e46f168 100644 +--- a/src/utils/history.cpp ++++ b/src/utils/history.cpp +@@ -76,9 +76,9 @@ const HistoryFileName& History::unpackFileName(const QString& fileNamePacked) + int nPathIndex = fileNamePacked.lastIndexOf("/"); + QStringList unpackedFileName; + if (nPathIndex == -1) { +- unpackedFileName = fileNamePacked.split("-"); ++ unpackedFileName = fileNamePacked.split("|"); + } else { +- unpackedFileName = fileNamePacked.mid(nPathIndex + 1).split("-"); ++ unpackedFileName = fileNamePacked.mid(nPathIndex + 1).split("|"); + } + + switch (unpackedFileName.length()) { +@@ -109,9 +109,9 @@ const QString& History::packFileName(const QString& storageType, + if (storageType.length() > 0) { + if (deleteToken.length() > 0) { + m_packedFileName = +- storageType + "-" + deleteToken + "-" + m_packedFileName; ++ storageType + "|" + deleteToken + "|" + m_packedFileName; + } else { +- m_packedFileName = storageType + "-" + m_packedFileName; ++ m_packedFileName = storageType + "|" + m_packedFileName; + } + } + return m_packedFileName; |
