Check-in Number:
|
4055 | |
Date: |
2003-Feb-19 19:19:19 (local)
2003-Feb-19 18:19:19 (UTC) |
User: | ms |
Branch: | |
Comment: |
Clean up, and remove unneeded QString constructors. |
Tickets: |
|
Inspections: |
|
Files: |
|
ossp-pkg/as/as-gui/as_dataop.cpp 1.49 -> 1.50
--- as_dataop.cpp 2003/02/14 19:27:03 1.49
+++ as_dataop.cpp 2003/02/19 18:19:19 1.50
@@ -480,37 +480,37 @@
// Build the row data string one field at a time, adding seps inbetween
Tempstring = m_pMaintable->text(Select.topRow() + nIter, TITRAQ_IDXLINE);
if (!Tempstring.isEmpty())
- Rowdata = Rowdata + Tempstring;
+ Rowdata += Tempstring;
Tempstring = m_pMaintable->text(Select.topRow() + nIter, TITRAQ_IDXUSER);
if (!Tempstring.isEmpty())
- Rowdata = Rowdata + trUtf8(TITRAQ_SEPARATORTOK) + Tempstring;
+ Rowdata += TITRAQ_SEPARATORTOK + Tempstring;
Tempstring = m_pMaintable->text(Select.topRow() + nIter, TITRAQ_IDXGUID);
if (!Tempstring.isEmpty())
- Rowdata = Rowdata + trUtf8(TITRAQ_SEPARATORTOK) + Tempstring;
+ Rowdata += TITRAQ_SEPARATORTOK + Tempstring;
Tempstring = m_pMaintable->text(Select.topRow() + nIter, TITRAQ_IDXCRC);
if (!Tempstring.isEmpty())
- Rowdata = Rowdata + trUtf8(TITRAQ_SEPARATORTOK) + Tempstring;
+ Rowdata += TITRAQ_SEPARATORTOK + Tempstring;
Tempstring = m_pMaintable->text(Select.topRow() + nIter, TITRAQ_IDXREV);
if (!Tempstring.isEmpty())
- Rowdata = Rowdata + trUtf8(TITRAQ_SEPARATORTOK) + Tempstring;
+ Rowdata += TITRAQ_SEPARATORTOK + Tempstring;
Tempstring = m_pMaintable->text(Select.topRow() + nIter, TITRAQ_IDXDATE);
if (!Tempstring.isEmpty())
- Rowdata = Rowdata + trUtf8(TITRAQ_SEPARATORTOK) + Tempstring;
+ Rowdata += TITRAQ_SEPARATORTOK + Tempstring;
Tempstring = m_pMaintable->text(Select.topRow() + nIter, TITRAQ_IDXSTART);
if (!Tempstring.isEmpty())
- Rowdata = Rowdata + trUtf8(TITRAQ_SEPARATORTOK) + Tempstring;
+ Rowdata += TITRAQ_SEPARATORTOK + Tempstring;
Tempstring = m_pMaintable->text(Select.topRow() + nIter, TITRAQ_IDXFINISH);
if (!Tempstring.isEmpty())
- Rowdata = Rowdata + trUtf8(TITRAQ_SEPARATORTOK) + Tempstring;
+ Rowdata += TITRAQ_SEPARATORTOK + Tempstring;
Tempstring = m_pMaintable->text(Select.topRow() + nIter, TITRAQ_IDXAMOUNT);
if (!Tempstring.isEmpty())
- Rowdata = Rowdata + trUtf8(TITRAQ_SEPARATORTOK) + Tempstring;
+ Rowdata += TITRAQ_SEPARATORTOK + Tempstring;
Tempstring = m_pMaintable->text(Select.topRow() + nIter, TITRAQ_IDXTASK);
if (!Tempstring.isEmpty())
- Rowdata = Rowdata + trUtf8(TITRAQ_SEPARATORTOK) + Tempstring;
+ Rowdata += TITRAQ_SEPARATORTOK + Tempstring;
Tempstring = m_pMaintable->text(Select.topRow() + nIter, TITRAQ_IDXREMARK);
if (!Tempstring.isEmpty())
- Rowdata = Rowdata + trUtf8(TITRAQ_SEPARATORTOK) + Tempstring;
+ Rowdata += TITRAQ_SEPARATORTOK + Tempstring;
Rowdata += trUtf8("\n"); // Finish off line
}
|
|