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

List:       kde-commits
Subject:    kdeedu/kwordquiz/src
From:       Peter Hedlund <peter () peterandlinda ! com>
Date:       2004-11-13 23:31:39
Message-ID: 20041113233139.179F416EE5 () office ! kde ! org
[Download RAW message or body]

CVS commit by hedlund: 

Don't crash when exiting the program and a quiz is running in more than one window.


  M +0 -6      wqquiz.cpp   1.10


--- kdeedu/kwordquiz/src/wqquiz.cpp  #1.9:1.10
@@ -32,16 +32,10 @@ WQQuiz::WQQuiz(KWordQuizView * parent, c
 
   m_list = new QPtrList<WQListItem>();
-  //m_list -> setAutoDelete(true);
   m_errorList = new QPtrList<WQListItem>();
-  //m_errorList -> setAutoDelete(true);
   m_quizList = new QPtrList<WQListItem>();
-  //m_quizList -> setAutoDelete(true);
 }
 
 WQQuiz::~WQQuiz()
 {
-  delete (m_list);
-  delete (m_errorList);
-  delete (m_quizList);
 }
 


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

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