Skip to content

Commit

Permalink
Test de debugage enlevé.
Browse files Browse the repository at this point in the history
  • Loading branch information
Skade86 committed Apr 4, 2015
1 parent 122f720 commit ee7335c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion build_number
Original file line number Diff line number Diff line change
@@ -1 +1 @@
818
820
2 changes: 1 addition & 1 deletion include/version.h
Original file line number Diff line number Diff line change
@@ -1 +1 @@
#define BUILD 818
#define BUILD 820
4 changes: 2 additions & 2 deletions sources/exosheet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -331,12 +331,12 @@ QString ExoSheet::replaceMeta(QString path,QString str)
while(index!=-1)
{
index = str.indexOf("%@",fromIndex);
QMessageBox::warning(0, QObject::tr("Error"),QObject::tr("index : %1").arg(index));
// QMessageBox::warning(0, QObject::tr("Error"),QObject::tr("index : %1").arg(index));
if (index==-1) return str;
toIndex = str.indexOf("@",index+2);
if (toIndex==-1) return str;
text = str.mid(index+2,toIndex-index-2).trimmed();
QMessageBox::warning(0, QObject::tr("Error"),QObject::tr("index : %1\ntoIndex : %2\ntext : %3").arg(index).arg(toIndex).arg(text));
// QMessageBox::warning(0, QObject::tr("Error"),QObject::tr("index : %1\ntoIndex : %2\ntext : %3").arg(index).arg(toIndex).arg(text));
newText = domHandler->getExoMeta(path,text);
int lenOld=QString("%@"+text+"@").size();
int lenNew=newText.size();
Expand Down

0 comments on commit ee7335c

Please sign in to comment.