diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-05-03 17:16:26 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2012-05-03 17:16:26 -0500 |
commit | d9ed8b3291e596eafed777956a062dc8816d0d3c (patch) | |
tree | 432a4ef5808e2eae014a08667c830f5ca25ee395 /libk9copy/k9cellcopylist.cpp | |
parent | 62acebb74cc50671eebf21a314912b12b082be1d (diff) | |
download | k9copy-d9ed8b3291e596eafed777956a062dc8816d0d3c.tar.gz k9copy-d9ed8b3291e596eafed777956a062dc8816d0d3c.zip |
Fix 'format not a string literal' error
Diffstat (limited to 'libk9copy/k9cellcopylist.cpp')
-rw-r--r-- | libk9copy/k9cellcopylist.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libk9copy/k9cellcopylist.cpp b/libk9copy/k9cellcopylist.cpp index be4e406..31e85a3 100644 --- a/libk9copy/k9cellcopylist.cpp +++ b/libk9copy/k9cellcopylist.cpp @@ -294,10 +294,10 @@ double k9CellCopyList::getMinFactor(bool _withMenus) { double totalSize=gettotalSize()+menuSize - (fforced) -m_inbytes; totalSize/=2.50; -tqDebug(TQString("totalSize(%1)=gettotalSize()(%2)+menuSize(%3) -(fforced(%4))-m_inbytes(%6)").arg(totalSize).arg(gettotalSize()).arg(menuSize).arg(fforced).arg(m_frcinbytes).arg(m_inbytes)); + tqDebug("%s", (TQString("totalSize(%1)=gettotalSize()(%2)+menuSize(%3) -(fforced(%4))-m_inbytes(%6)").arg(totalSize).arg(gettotalSize()).arg(menuSize).arg(fforced).arg(m_frcinbytes).arg(m_inbytes)).ascii()); double minFactor=(fforced-m_frcinbytes) /(MaxSize- (totalSize +m_outbytes) - m_frcoutbytes) ; - tqDebug(TQString("minfactor(%1)=(fforced(%2) -m_frinbytes(%3))/(MacSize(%4)-totalSize(%5)-m_outbytes(%6) - m_frcoutbytes(%7))").arg(minFactor).arg(fforced).arg(m_frcinbytes).arg(MaxSize).arg(totalSize).arg(m_outbytes).arg(m_frcoutbytes)); + tqDebug("%s", (TQString("minfactor(%1)=(fforced(%2) -m_frinbytes(%3))/(MacSize(%4)-totalSize(%5)-m_outbytes(%6) - m_frcoutbytes(%7))").arg(minFactor).arg(fforced).arg(m_frcinbytes).arg(MaxSize).arg(totalSize).arg(m_outbytes).arg(m_frcoutbytes)).ascii()); if (minFactor<1) minFactor=1; |