summaryrefslogtreecommitdiffstats
path: root/examples/animation/appchooser/main.cpp
diff options
context:
space:
mode:
authorEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-04-23 11:46:02 +0200
committerEskil Abrahamsen Blomfeldt <eblomfel@trolltech.com>2009-04-23 11:46:02 +0200
commitad1441fcb1c66ddafd890c1aa22a631d12c4ee0d (patch)
tree07eb8ddd0b6976d001486ef536906ff1cdf7bdde /examples/animation/appchooser/main.cpp
parent404db2ceac0ad4770c77f42e8f8a9cd003b151a1 (diff)
Remove API for setting specific restore policies on states. We have no clear
use case for this, so it has been removed. If the requirement arises we can add it back in later. Since it no longer makes sense to have it in QAbstractState, the RestorePolicy enum has been moved to QStateMachine.
Diffstat (limited to 'examples/animation/appchooser/main.cpp')
-rw-r--r--examples/animation/appchooser/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/animation/appchooser/main.cpp b/examples/animation/appchooser/main.cpp
index 1a43ed7d2f..67350128bd 100644
--- a/examples/animation/appchooser/main.cpp
+++ b/examples/animation/appchooser/main.cpp
@@ -104,7 +104,7 @@ int main(int argc, char **argv)
window.setVerticalScrollBarPolicy(Qt::ScrollBarAlwaysOff);
QStateMachine machine;
- machine.setGlobalRestorePolicy(QState::RestoreProperties);
+ machine.setGlobalRestorePolicy(QStateMachine::RestoreProperties);
QState *group = new QState(machine.rootState());
group->setObjectName("group");