diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2022-03-17 18:50:52 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2022-03-18 12:45:32 +0100 |
commit | 5e6c401557744fe5f9765471605cc793939fee1f (patch) | |
tree | fa1c9abe564d03a362378f8a7a6304e27baf9c33 /kmymoney2/reports/pivottable.cpp | |
parent | eeae53f59df4d79d0399c2217a165ff2fab754db (diff) | |
download | kmymoney-5e6c401557744fe5f9765471605cc793939fee1f.tar.gz kmymoney-5e6c401557744fe5f9765471605cc793939fee1f.zip |
Added controlled conversions to char* instead of automatic ascii conversions.
The definition of -UTQT_NO_ASCII_CAST is no longer needed.
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kmymoney2/reports/pivottable.cpp')
-rw-r--r-- | kmymoney2/reports/pivottable.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kmymoney2/reports/pivottable.cpp b/kmymoney2/reports/pivottable.cpp index 6035d20..3deb988 100644 --- a/kmymoney2/reports/pivottable.cpp +++ b/kmymoney2/reports/pivottable.cpp @@ -1636,7 +1636,7 @@ TQString PivotTable::renderHTML( void ) const for(unsigned i = 0; i < m_rowTypeList.size(); ++i) { result += TQString("<td%2>%1</td>") - .arg(i18n( m_columnTypeHeaderList[i] )) + .arg(i18n(m_columnTypeHeaderList[i].utf8())) .arg(i == 0 ? lb : TQString() ); } column++; @@ -1644,7 +1644,7 @@ TQString PivotTable::renderHTML( void ) const if ( m_config_f.isShowingRowTotals() ) { for(unsigned i = 0; i < m_rowTypeList.size(); ++i) { result += TQString("<td%2>%1</td>") - .arg(i18n( m_columnTypeHeaderList[i] )) + .arg(i18n(m_columnTypeHeaderList[i].utf8())) .arg(i == 0 ? leftborder : TQString() ); } } |