projects
/
situare
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0641d34
)
Removed debug print.
author
Jussi Laitinen
<jupe@l3l7588.ixonos.local>
Wed, 1 Sep 2010 09:23:31 +0000
(12:23 +0300)
committer
Jussi Laitinen
<jupe@l3l7588.ixonos.local>
Wed, 1 Sep 2010 09:23:31 +0000
(12:23 +0300)
src/ui/listitem.cpp
patch
|
blob
|
history
diff --git
a/src/ui/listitem.cpp
b/src/ui/listitem.cpp
index
d6d9961
..
82127db
100644
(file)
--- a/
src/ui/listitem.cpp
+++ b/
src/ui/listitem.cpp
@@
-80,17
+80,4
@@
QString ListItem::shortenText(const QString &text, int textWidth, TextSize textS
QFontMetrics textMetrics = painter.fontMetrics();
return TextModifier::shortenText(textMetrics, text, textWidth);
-
-// QFontMetrics textMetrics = painter.fontMetrics();
-
-// QString shortenedText = text;
-
-// int index = shortenedText.indexOf('\n');
-
-// if (index > 0) {
-// shortenedText.truncate(index);
-// shortenedText.append("...");
-// }
-
-// return textMetrics.elidedText(shortenedText, Qt::ElideRight, textWidth);
}