summaryrefslogtreecommitdiff
path: root/src/audioextractor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/audioextractor.cc')
-rw-r--r--src/audioextractor.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/audioextractor.cc b/src/audioextractor.cc
index b9b743a..21a4108 100644
--- a/src/audioextractor.cc
+++ b/src/audioextractor.cc
@@ -30,13 +30,12 @@
#include <QFile>
#include <QDir>
#include <QApplication>
+#include <QHash>
#include <sndfile.h>
#include "project.h"
-extern Q_CORE_EXPORT QBasicAtomicInt qt_qhash_seed;
-
#define INSTRUMENT_VERSION "2.0"
typedef struct
@@ -219,7 +218,7 @@ void AudioExtractor::exportSelections()
// 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 =