From: Jussi Laitinen Date: Tue, 31 Aug 2010 08:16:30 +0000 (+0300) Subject: Removed temp text. X-Git-Tag: v2.0b-1~21^2~8 X-Git-Url: http://git.maemo.org/git/?a=commitdiff_plain;h=1ff565262d6244fe2f45eb8e90438f12d71678f4;hp=c074268ac200455b2d1c7d9e2b8ca97518493904;p=situare Removed temp text. --- diff --git a/debian/changelog b/debian/changelog index 6c15b04..d4f9d45 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,4 +1,4 @@ -situare (2.0-0) unstable; urgency=low +situare (2.0-2) unstable; urgency=low * Situare alpha release * New Features: @@ -15,6 +15,7 @@ situare (2.0-0) unstable; urgency=low - Error messages from routing service are not shown - Error messages from location search are not shown - Text length cutting in user panel + - Area under panel can be clicked -- Jussi Laitinen Thu, 30 Aug 2010 10:50:00 +0300 diff --git a/src/ui/extendedlistitem.cpp b/src/ui/extendedlistitem.cpp index 868857f..0f8c8fb 100644 --- a/src/ui/extendedlistitem.cpp +++ b/src/ui/extendedlistitem.cpp @@ -108,8 +108,6 @@ QRect ExtendedListItem::boundingRect(const QString &text) } } - //textRect.setHeight(textRect.height() + 5); -// qWarning() << textRect.width() << textRect.height(); return textRect; } diff --git a/src/ui/friendlistitem.cpp b/src/ui/friendlistitem.cpp index 6693246..cd0fc9d 100644 --- a/src/ui/friendlistitem.cpp +++ b/src/ui/friendlistitem.cpp @@ -115,7 +115,7 @@ void FriendListItem::setUserData(User *user) clearSubItems(); QString noteTemp = QString("Joillakin lehdillä on tosi tarkat rajat painon kanssa, ja emme " - "menneet Playboyn pyytämiin koekuvauksiinkaan, kun he sanoivat, " + "menneet Playboyn pyytämiin \n\nkoekuvauksiinkaan, kun he sanoivat, " "että se on ainoa mahdollisuus. Jos on esim. liian ruskettunut, " "niin he karsivat saman tien pois. Nain jälkikäteen ajatellen minua " "on jäänyt harmittamaan, ettemme menneet koekuvaukseen kun kerran " @@ -124,13 +124,13 @@ void FriendListItem::setUserData(User *user) "Olemme ihmetelleet, miksi Suomen lehdistö sivuutti asian vain " "nopeasti. Vaikka kyseessä ei ollutkaan monen kuvan kuvasarja " "Juliasta, hän silti poseerasi varsinaisessa Playboy-lehdessä."); - QString noteTemp2 = QString("hei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\n" + QString noteTemp2 = QString("hei\nhei\n\nhei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\n" "hei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\nhei\nhei"); static int index = 0; // if (index % 2) - addSubItem(noteTemp, QPixmap(":/res/images/envelope.png")); + addSubItem(user->note(), QPixmap(":/res/images/envelope.png")); // else // addSubItem(noteTemp2, QPixmap(":/res/images/envelope.png")); addSubItem(user->address(), QPixmap(":/res/images/compass.png")); diff --git a/src/ui/friendlistpanel.cpp b/src/ui/friendlistpanel.cpp index 2becab2..b2e4b42 100644 --- a/src/ui/friendlistpanel.cpp +++ b/src/ui/friendlistpanel.cpp @@ -222,9 +222,9 @@ void FriendListPanel::friendInfoReceived(QList &friendList) newUserIDs.append(user->userId()); - count++; - if (count >= 1) - break; +// count++; +// if (count >= 1) +// break; } m_friendListView->clearUnused(newUserIDs);