comparison src/mainwindow.cpp @ 56:016cbcb1a233

Wrap the CSV model to have it return not only string variants but also numerical types
author Andre Heinecke <andre.heinecke@intevation.de>
date Tue, 19 May 2015 11:12:22 +0200
parents 07744e276579
children 11aaa9214cfb
comparison
equal deleted inserted replaced
55:23672cbc3e5f 56:016cbcb1a233
149 149
150 } 150 }
151 QString errorMsg = mDataView->parseMetaData(metaData.filePath()); 151 QString errorMsg = mDataView->parseMetaData(metaData.filePath());
152 if (!errorMsg.isEmpty()) { 152 if (!errorMsg.isEmpty()) {
153 showErrorMessage(errorMsg); 153 showErrorMessage(errorMsg);
154 return;
155 } 154 }
156 statusBar()->showMessage(tr("Parsed: '%1'").arg(metaData.filePath())); 155 statusBar()->showMessage(tr("Parsed: '%1'").arg(metaData.filePath()));
157 qDebug() << "Parsed: " << metaData.filePath(); 156 qDebug() << "Parsed: " << metaData.filePath();
158 mCurFolder = folder; 157 mCurFolder = folder;
159 mPlayer->setBaseDir(folder); 158 mPlayer->setBaseDir(folder);
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)