summaryrefslogtreecommitdiff
path: root/src/audioextractor.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-10-06 16:14:08 +0200
committerBent Bisballe Nyeng <deva@aasimon.org>2018-10-06 16:14:08 +0200
commit6b08be06ae0ff6d5b18471a959ad3401b3afebe1 (patch)
tree8a6452f832e0e92274bbe47e0ca08f110dc6978a /src/audioextractor.cc
parent61dd862769a186a05a2b0ca7fe7cc470aa383f25 (diff)
Better hack for seeding QHash attribute map.
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 =