[education/rkward] rkward/windows: Apparently, pdflatex dislikes filenames starting with a dot

Thomas Friedrichsmeier null at kde.org
Sun Jul 7 17:33:10 BST 2024


Git commit f2846368138128577ce8d28f6fbd69993ce0e15e by Thomas Friedrichsmeier.
Committed on 07/07/2024 at 16:32.
Pushed by tfry into branch 'master'.

Apparently, pdflatex dislikes filenames starting with a dot

M  +1    -1    rkward/windows/rkcommandeditorwindow.cpp

https://invent.kde.org/education/rkward/-/commit/f2846368138128577ce8d28f6fbd69993ce0e15e

diff --git a/rkward/windows/rkcommandeditorwindow.cpp b/rkward/windows/rkcommandeditorwindow.cpp
index 14fa82ba0..3d7be7ea2 100644
--- a/rkward/windows/rkcommandeditorwindow.cpp
+++ b/rkward/windows/rkcommandeditorwindow.cpp
@@ -541,7 +541,7 @@ class RKScriptPreviewIO {
 	QFile* infile;
 	QString extension;
 	RKScriptPreviewIO(const QString &extension, const QUrl &url) : url(url), preview_mode(-1), out_dir(), infile(nullptr), extension(extension) {
-		const auto pattern = QLatin1String(".tmp_rkward_preview");
+		const auto pattern = QLatin1String("tmp_rkward_preview");
 		if (url.isEmpty() || !url.isLocalFile()) {
 			// Not locally saved: save to tempdir
 			infile = new QFile(QDir(out_dir.path()).absoluteFilePath(pattern + extension));



More information about the rkward-tracker mailing list