summaryrefslogtreecommitdiffstats
path: root/helper.h
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2015-08-05 04:04:49 +0200
committerArno <arno@disconnect.de>2015-08-05 04:18:09 +0200
commit49b943474c4ac39ee5f0f2e900fddd1253a84366 (patch)
treedf68a1d2a09877b01c31d365acee7df44be9ccdd /helper.h
parentb3ccbde0d3e540453b80709002cae0630172f1dc (diff)
downloadSheMov-49b943474c4ac39ee5f0f2e900fddd1253a84366.tar.gz
SheMov-49b943474c4ac39ee5f0f2e900fddd1253a84366.tar.bz2
SheMov-49b943474c4ac39ee5f0f2e900fddd1253a84366.zip
Remove progress dialog and use Qt::WaitCursor instead
Get rid of the progress Dialog in the filesystem widget and replace it with Qt::WaitCursor. While at it, show the waitcursor in the picture widget, too. Also remove the annoying warnings from ImageMagick by defining the missing constants.
Diffstat (limited to 'helper.h')
-rw-r--r--helper.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/helper.h b/helper.h
index e78b827..cdfcd88 100644
--- a/helper.h
+++ b/helper.h
@@ -17,6 +17,15 @@
#include <magic.h>
#include <pictureviewer2.h>
+
+#ifndef MAGICKCORE_QUANTUM_DEPTH
+#define MAGICKCORE_QUANTUM_DEPTH 16
+#endif
+
+#ifndef MAGICKCORE_HDRI_ENABLE
+#define MAGICKCORE_HDRI_ENABLE 1
+#endif
+
#include <ImageMagick-6/Magick++.h>
class QString;