Mercurial > hg > svcore
comparison data/fileio/CSVFileReader.cpp @ 259:dc46851837d6
* Fix many compile warnings, remove some debug output
author | Chris Cannam |
---|---|
date | Mon, 30 Apr 2007 13:36:23 +0000 |
parents | 9c85517ff0f5 |
children | 2fc6f3829f04 |
comparison
equal
deleted
inserted
replaced
258:96a6dd889c68 | 259:dc46851837d6 |
---|---|
340 m_windowSizeCombo = new QComboBox; | 340 m_windowSizeCombo = new QComboBox; |
341 m_windowSize = 1024; | 341 m_windowSize = 1024; |
342 for (int i = 0; i <= 16; ++i) { | 342 for (int i = 0; i <= 16; ++i) { |
343 int value = 1 << i; | 343 int value = 1 << i; |
344 m_windowSizeCombo->addItem(QString("%1").arg(value)); | 344 m_windowSizeCombo->addItem(QString("%1").arg(value)); |
345 if (value == m_windowSize) m_windowSizeCombo->setCurrentIndex(i); | 345 if (value == int(m_windowSize)) m_windowSizeCombo->setCurrentIndex(i); |
346 } | 346 } |
347 m_windowSizeCombo->setEditable(true); | 347 m_windowSizeCombo->setEditable(true); |
348 | 348 |
349 layout->addWidget(m_windowSizeCombo, 4, 1); | 349 layout->addWidget(m_windowSizeCombo, 4, 1); |
350 connect(m_windowSizeCombo, SIGNAL(activated(QString)), | 350 connect(m_windowSizeCombo, SIGNAL(activated(QString)), |