[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdeedu/kwordquiz/src
From: Peter Hedlund <peter () peterandlinda ! com>
Date: 2009-12-06 21:42:19
Message-ID: 1260135739.473683.30735.nullmailer () svn ! kde ! org
[Download RAW message or body]
SVN commit 1059531 by hedlund:
I can't reproduce this bug but I hope this will stabilize things.
CCBUG:212110
M +2 -1 flashview.cpp
--- trunk/KDE/kdeedu/kwordquiz/src/flashview.cpp #1059530:1059531
@@ -31,7 +31,6 @@
setupUi(this);
m_timer = new QTimer(this);
connect(m_timer, SIGNAL(timeout()), this, SLOT(slotTimer()));
- connect(flashcard, SIGNAL(cardClicked()), this, SLOT(slotFlip()));
}
void FlashView::setQuiz(KWQQuizModel *quiz)
@@ -50,6 +49,7 @@
m_actionCollection->action("flash_dont_know")->setEnabled(true);
m_actionCollection->action("quiz_repeat_errors")->setEnabled(false);
m_actionCollection->action("quiz_export_errors")->setEnabled(false);
+ connect(flashcard, SIGNAL(cardClicked()), this, SLOT(slotFlip()), Qt::UniqueConnection);
m_showFirst = true;
slotFlip();
@@ -93,6 +93,7 @@
m_actionCollection->action("flash_dont_know")->setEnabled(false);
m_actionCollection->action("quiz_repeat_errors")->setEnabled(m_quiz->hasErrors());
m_actionCollection->action("quiz_export_errors")->setEnabled(m_quiz->hasErrors());
+ disconnect(flashcard, SIGNAL(cardClicked()), 0, 0);
}
}
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic