Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

OSX: Cross compilation fixes for mythmusic.

Signed-off-by: Mark Kendall <mkendall@mythtv.org>
(cherry picked from commit 3860dd2)
  • Loading branch information...
commit df16df93d3bff56405c7f4378cd7bf98af52a366 1 parent f525415
Lawrence Rust authored Mark Kendall committed
View
1  mythplugins/mythmusic/mythmusic/cddecoder.h
@@ -7,6 +7,7 @@
#if CONFIG_DARWIN
#include <vector>
+using std::vector;
#endif
#if defined(__linux__) || defined(__FreeBSD__)
View
11 mythplugins/mythmusic/mythmusic/visualize.h
@@ -13,8 +13,7 @@
#define VISUALIZE_H
// C++ headers
-#include <vector>
-using namespace std;
+#include <QVector>
// MythTV headers
#include <visual.h>
@@ -66,8 +65,8 @@ class Spectrum : public VisualBase
inline double clamp(double cur, double max, double min);
QColor startColor, targetColor;
- vector<QRect> rects;
- vector<double> magnitudes;
+ QVector<QRect> rects;
+ QVector<double> magnitudes;
QSize size;
LogScale scale;
double scaleFactor, falloff;
@@ -161,8 +160,8 @@ class Gears : public QGLWidget, public VisualBase
private:
QColor startColor, targetColor;
- vector<QRect> rects;
- vector<double> magnitudes;
+ QVector<QRect> rects;
+ QVector<double> magnitudes;
QSize size;
LogScale scale;
double scaleFactor, falloff;

0 comments on commit df16df9

Please sign in to comment.
Something went wrong with that request. Please try again.