Summary: |
konquest emits warning "QStateMachine::addState: state has already been added to this machine" when starting a new game |
Product: |
[Applications] konquest
|
Reporter: |
Martin Walch <walch.martin> |
Component: |
general | Assignee: |
Pierre Ducroquet <pinaraf> |
Status: |
RESOLVED
FIXED
|
|
|
Severity: |
minor
|
CC: |
kde-games-bugs
|
Priority: |
NOR
|
|
|
Version First Reported In: |
unspecified | |
|
Target Milestone: |
--- | |
|
Platform: |
Gentoo Packages | |
|
OS: |
Linux | |
|
Latest Commit:
|
http://commits.kde.org/konquest/968ce5cd228ff9906b7aed0c936ddc06d36581da
|
Version Fixed In:
|
|
Sentry Crash Report:
|
|
| |
Attachments: |
fix proposal
|
Created attachment 86703 [details] fix proposal When starting a new game in konquest, the warning QStateMachine::addState: state has already been added to this machine appears for each player. This is because in the constructor of the common Player class, the new object is added to the QStateMachine, and in LocalGame::buildMachine(), they are added again.