[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Traverso-commit] traverso/src/core Song.cpp
From: |
Remon Sijrier |
Subject: |
[Traverso-commit] traverso/src/core Song.cpp |
Date: |
Wed, 30 May 2007 16:13:58 +0000 |
CVSROOT: /sources/traverso
Module name: traverso
Changes by: Remon Sijrier <r_sijrier> 07/05/30 16:13:58
Modified files:
src/core : Song.cpp
Log message:
set transportframe correctly in set_state()
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/core/Song.cpp?cvsroot=traverso&r1=1.114&r2=1.115
Patches:
Index: Song.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/core/Song.cpp,v
retrieving revision 1.114
retrieving revision 1.115
diff -u -b -r1.114 -r1.115
--- Song.cpp 30 May 2007 13:57:36 -0000 1.114
+++ Song.cpp 30 May 2007 16:13:58 -0000 1.115
@@ -191,10 +191,9 @@
m_sby = e.attribute("sby", "0").toInt();
set_first_visible_frame(e.attribute( "firstVisibleFrame", "0"
).toUInt());
set_work_at(e.attribute( "workingFrame", "0").toUInt());
- set_transport_pos(e.attribute( "transportFrame", "0").toUInt());
-
- emit transportPosSet();
-
+ transportFrame = e.attribute( "transportFrame", "0").toUInt();
+ // Start seeking to the 'old' transport pos
+ set_transport_pos(transportFrame);
set_snapping(e.attribute("snapping", "0").toInt());
m_mode = e.attribute("mode", "0").toInt();