summaryrefslogtreecommitdiff
path: root/src/projectrenderer.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/projectrenderer.cc')
-rw-r--r--src/projectrenderer.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/projectrenderer.cc b/src/projectrenderer.cc
index c6f24b0..d258bf5 100644
--- a/src/projectrenderer.cc
+++ b/src/projectrenderer.cc
@@ -30,12 +30,11 @@
#include <QFile>
#include <QApplication>
#include <QDir>
+#include <QHash>
#include "project.h"
#include "audioextractor.h"
-extern Q_CORE_EXPORT QBasicAtomicInt qt_qhash_seed;
-
ProjectRenderer::ProjectRenderer(Project& project)
: project(project)
{
@@ -45,7 +44,7 @@ void ProjectRenderer::render()
{
// Ugly hack to ensure the xml attribute order is the same each time a save
// or export is performed.
- qt_qhash_seed.store(0);
+ qSetGlobalQHashSeed(0);
QDomDocument doc;
QDomProcessingInstruction header =