comparison widgets/AudioDial.cpp @ 249:e6d0b097d102 sv1-1.0rc1

* more compile warning fixes
author Chris Cannam
date Mon, 30 Apr 2007 14:06:45 +0000
parents 1fff998ae4a9
children 8d89f8869cfb
comparison
equal deleted inserted replaced
248:28c8e8e3c537 249:e6d0b097d102
135 else if (m_meterColor == Qt::white) 135 else if (m_meterColor == Qt::white)
136 meterColor = palette().highlight().color(); 136 meterColor = palette().highlight().color();
137 137
138 int m_size = width() < height() ? width() : height(); 138 int m_size = width() < height() ? width() : height();
139 int scale = 1; 139 int scale = 1;
140 int width = m_size - 2*scale, height = m_size - 2*scale; 140 int width = m_size - 2*scale;
141 141
142 paint.begin(this); 142 paint.begin(this);
143 paint.setRenderHint(QPainter::Antialiasing, true); 143 paint.setRenderHint(QPainter::Antialiasing, true);
144 paint.translate(1, 1); 144 paint.translate(1, 1);
145 145