mirror of
https://bitbucket.org/smil3y/katie.git
synced 2025-02-24 02:42:55 +00:00
correct value assignment in QSpontaneKeyEvent::setSpontaneous()
Signed-off-by: Ivailo Monev <xakepa10@laimg.moc>
This commit is contained in:
parent
a86ec3a4c5
commit
08db29bc51
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ QT_BEGIN_NAMESPACE
|
|||
class QSpontaneKeyEvent
|
||||
{
|
||||
public:
|
||||
void setSpontaneous() { spont = 1; }
|
||||
void setSpontaneous() { spont = true; }
|
||||
bool spontaneous() { return spont; }
|
||||
virtual ~QSpontaneKeyEvent() {}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue