Mercurial > hg > svgui
comparison widgets/Thumbwheel.cpp @ 616:d632a1e87018 qt5
Build fixes for Qt5
author | Chris Cannam |
---|---|
date | Mon, 11 Mar 2013 14:23:52 +0000 |
parents | 4806715f7a19 |
children | 1a0dfcbffaf1 |
comparison
equal
deleted
inserted
replaced
615:156a120345ae | 616:d632a1e87018 |
---|---|
371 setMappedValue(newValue); | 371 setMappedValue(newValue); |
372 } | 372 } |
373 | 373 |
374 } else { | 374 } else { |
375 | 375 |
376 int newValue = QInputDialog::getInteger | 376 int newValue = QInputDialog::getInt |
377 (this, | 377 (this, |
378 tr("Enter new value"), | 378 tr("Enter new value"), |
379 tr("Enter a new value from %1 to %2:") | 379 tr("Enter a new value from %1 to %2:") |
380 .arg(m_min).arg(m_max), | 380 .arg(m_min).arg(m_max), |
381 getValue(), m_min, m_max, 1, &ok); | 381 getValue(), m_min, m_max, 1, &ok); |