Commit f7ba0e84 authored by Nathan Hinton's avatar Nathan Hinton 💬
Browse files

cleaning up the debug/output

parent 5736fbc0
......@@ -107,8 +107,8 @@ void SubtitleModel::importSubtitle(const QString &filePath, int offset, bool ext
QLatin1Char separator = filePath.endsWith(".sbv") ? QLatin1Char(',') : QLatin1Char(' ');
while (stream.readLineInto(&line)) {
line = line.simplified();
qDebug()<<"Turn: "<<turn;
qDebug()<<"Line: "<<line<<"\n";
//qDebug()<<"Turn: "<<turn;
//qDebug()<<"Line: "<<line<<"\n";
if (!line.isEmpty()) {
if (!turn) {
// index=atoi(line.toStdString().c_str());
......@@ -137,7 +137,7 @@ void SubtitleModel::importSubtitle(const QString &filePath, int offset, bool ext
} else {
if (endPos > startPos) {
addSubtitle(startPos + subtitleOffset, endPos + subtitleOffset, comment, undo, redo, false);
qDebug()<<"Adding Subtitle: \n Start time: "<<start<<"\n End time: "<<end<<"\n Text: "<<comment;
//qDebug()<<"Adding Subtitle: \n Start time: "<<start<<"\n End time: "<<end<<"\n Text: "<<comment;
} else {
qDebug()<<"===== INVALID SUBTITLE FOUND: "<<start<<"-"<<end<<", "<<comment;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment