Fix bug reporting on Windows (yet UNTESTED)

parent fdea689a
--- Version 0.6.5a - UNRELEASED
- Fix bug report feature on Windows TODO: Really test this!
- Avoid some potential encoding issues, that could cause graphical select.list to fail for certain strings, under some circumstances
--- Version 0.6.5 - Apr-02-2016
......@@ -26,6 +26,7 @@
#include <QLabel>
#include <QTextEdit>
#include <QTemporaryFile>
#include <QDir>
#include <QTextStream>
#include "../rbackend/rinterface.h"
......@@ -70,6 +71,7 @@ public:
void accept () {
// The report template is just too large to pass it via GET, so we use a local proxy page to pass it in a POST request
QTemporaryFile proxy;
proxy.setFileTemplate (QDir::tempPath () + "/rkwardbugXXXXXX.html"); // Force .html-suffix, as it appears to be required on Windows
proxy.setAutoRemove (false); ();
QTextStream out (&proxy);
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