[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 83187] In combined view,
From:       Sashmit Bhaduri <smt () vfemail ! net>
Date:       2004-07-04 4:33:14
Message-ID: 20040704043314.27012.qmail () ktown ! kde ! org
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
      
http://bugs.kde.org/show_bug.cgi?id=83187      
smt vfemail net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From smt vfemail net  2004-07-04 06:33 -------
CVS commit by sashmit: 

- Scroll to top upon article change in combined view
- cleanup

CCMAIL: 83187-done bugs kde org


  M +3 -5      articleviewer.cpp   1.38


--- kdenonbeta/akregator/src/articleviewer.cpp  #1.37:1.38
 @ -189,4 +189,5  @ QString ArticleViewer::formatArticle(Fee
 void ArticleViewer::beginWriting()
 {
+    view()->setContentsPos(0,0);
     begin( KURL( "file:"+KGlobal::dirs()->saveLocation("cache", "akregator/Media/") ) );
     write(m_htmlHead);
 @ -206,6 +207,5  @ void ArticleViewer::show(Feed *f, bool w
     if (writeHeaders)
     {
-        begin( KURL( "file:"+KGlobal::dirs()->saveLocation("cache", "akregator/Media/") ) );
-        write(m_htmlHead);
+        beginWriting();
     }
 
 @ -221,7 +221,5  @ void ArticleViewer::show(Feed *f, bool w
     if (writeHeaders)
     {
-        m_currentText = text + "</body></html>";
-        write("</body></html>");
-        end();
+        endWriting();
     }
     else
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic