OSDN Git Service

remove field
authorikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Mon, 8 Dec 2003 16:04:29 +0000 (16:04 +0000)
committerikemo <ikemo@56b19765-1e22-0410-a548-a0f45d66c51a>
Mon, 8 Dec 2003 16:04:29 +0000 (16:04 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/kita/kita/trunk@660 56b19765-1e22-0410-a548-a0f45d66c51a

kita/src/part/kitathreadview.cpp
kita/src/part/kitathreadview.h

index 94b88b0..8b0e22f 100644 (file)
@@ -60,7 +60,6 @@ static const char* kokomade_yonda = "<p style=\"background-color: #CCCCCC; text-
 KitaThreadView::KitaThreadView(QWidget *parent, const char *name)
     : KitaThreadViewBase(parent, name)
     , m_access( 0 )
-    , m_parent( parent )
     , m_popup( 0 )
 {
   m_threadPart = new KitaHTMLPart(threadFrame);
@@ -172,7 +171,7 @@ void KitaThreadView::update( const QString& result )
   int divide = total / ( 100 / 5 );
   int next = divide;
   int prevResNum = m_thread.resNum();
-  QProgressDialog * progress = new QProgressDialog( m_parent );
+  QProgressDialog * progress = new QProgressDialog( parentWidget() );
   progress->setTotalSteps( static_cast<int>(total * 0.7) );
   progress->setLabelText( "Parse DAT file.....");
   progress->show();
index c5818f8..46c4d44 100644 (file)
@@ -68,7 +68,6 @@ private: // Private attributes
   Kita::ThreadAccess* m_access;
   Kita::Thread m_thread;
   KitaHTMLPart* m_threadPart;
-  QWidget * m_parent;
   Kita::PostInfo m_postInfo;
   Kita::ResPopup* m_popup;