From 6fc76d2b1073710bc9a07e561d61fedddfd1266b Mon Sep 17 00:00:00 2001 From: ikemo Date: Sun, 25 May 2003 01:29:16 +0000 Subject: [PATCH] refactoring... git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@270 56b19765-1e22-0410-a548-a0f45d66c51a --- kita/src/part/kitathreadview.cpp | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/kita/src/part/kitathreadview.cpp b/kita/src/part/kitathreadview.cpp index 02dfc09..672084d 100644 --- a/kita/src/part/kitathreadview.cpp +++ b/kita/src/part/kitathreadview.cpp @@ -138,7 +138,6 @@ void KitaThreadView::slotShowThread(const Kita::Board& board, const Kita::Thread m_threadData = ""; m_threadPart->setContents(""); m_threadPart->clearPosition(); - BookmarkButton->setOn( false ); } m_board = board; @@ -265,9 +264,6 @@ void KitaThreadView::slotThreadResult(KIO::Job* job) m_threadPart->setContents(text); slotDisplayContents( m_threadPart->contents(), m_thread.datURL() ); - if ( HighLightButton->isOn() ) { - HighLightButton->toggle(); - } m_threadData.truncate(0); if ( m_thread.datURL().hasRef() ) { @@ -279,8 +275,13 @@ void KitaThreadView::slotThreadResult(KIO::Job* job) m_threadPart->clearPosition(); m_threadPart->pushCurrentPosition(); + if ( HighLightButton->isOn() ) { + HighLightButton->toggle(); + } if( FavoriteThreads::getInstance()->contains( m_thread.datURL().prettyURL() ) ) { BookmarkButton->setOn( true ); + } else { + BookmarkButton->setOn( false ); } emit showThreadCompleted( m_thread.url() ); -- 2.11.0