Fix compile error on Clang.

This commit is contained in:
John Maguire 2011-06-23 12:34:30 +00:00
parent 3567032795
commit 623acc8bd1
2 changed files with 2 additions and 1 deletions

View File

@ -23,6 +23,7 @@
#include <QTimerEvent>
const char* NyanCatAnalyzer::kName = "Nyan nyan nyan";
const float NyanCatAnalyzer::kPixelScale = 0.03f;
NyanCatAnalyzer::NyanCatAnalyzer(QWidget* parent)

View File

@ -45,7 +45,7 @@ private:
static const int kHistorySize = 128;
static const int kRainbowBands = 6;
static const float kPixelScale = 0.03;
static const float kPixelScale;
static const int kFrameIntervalMs = 150;