traverso-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Traverso-commit] traverso/src commands/AddRemove.cpp traverso/di...


From: Ben Levitt
Subject: [Traverso-commit] traverso/src commands/AddRemove.cpp traverso/di...
Date: Fri, 20 Apr 2007 08:44:48 +0000

CVSROOT:        /sources/traverso
Module name:    traverso
Changes by:     Ben Levitt <benjie>     07/04/20 08:44:48

Modified files:
        src/commands   : AddRemove.cpp 
        src/traverso/dialogs: BusSelectorDialog.cpp 

Log message:
        close the BusSelector dialog on OK

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/traverso/src/commands/AddRemove.cpp?cvsroot=traverso&r1=1.1&r2=1.2
http://cvs.savannah.gnu.org/viewcvs/traverso/src/traverso/dialogs/BusSelectorDialog.cpp?cvsroot=traverso&r1=1.1&r2=1.2

Patches:
Index: commands/AddRemove.cpp
===================================================================
RCS file: /sources/traverso/traverso/src/commands/AddRemove.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- commands/AddRemove.cpp      6 Mar 2007 15:13:33 -0000       1.1
+++ commands/AddRemove.cpp      20 Apr 2007 08:44:48 -0000      1.2
@@ -17,7 +17,7 @@
 along with this program; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA.
 
-$Id: AddRemove.cpp,v 1.1 2007/03/06 15:13:33 r_sijrier Exp $
+$Id: AddRemove.cpp,v 1.2 2007/04/20 08:44:48 benjie Exp $
 */
 
 #include "AddRemove.h"
@@ -34,7 +34,7 @@
        AddRemove is a flexible class that let's you insert/remove objects into 
the audio <br />
        processing execution path without using locks.<br />
        It can also be used with objects that aren't in the audio processing 
chain, and don't <br />
-       need the thread savety. Use set_instantanious() to let the created 
AddRemove object<br />
+       need the thread safety. Use set_instantanious() to let the created 
AddRemove object<br />
        know that it can bypass the thread save logic, and call the add/remove 
functions directly.
 
        The example below is typical how this Command class should be used.
@@ -120,8 +120,6 @@
 
 AddRemove::AddRemove(ContextItem* parent, void* arg, const QString& des)
        : Command(parent, des),
-       m_parentItem(parent),
-       m_arg(arg),
        m_song(0),
        m_doActionSlot(""),
        m_undoActionSlot(""),

Index: traverso/dialogs/BusSelectorDialog.cpp
===================================================================
RCS file: 
/sources/traverso/traverso/src/traverso/dialogs/BusSelectorDialog.cpp,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- traverso/dialogs/BusSelectorDialog.cpp      29 Mar 2007 11:12:16 -0000      
1.1
+++ traverso/dialogs/BusSelectorDialog.cpp      20 Apr 2007 08:44:48 -0000      
1.2
@@ -110,6 +110,8 @@
                        m_currentTrack->set_capture_right_channel(true);
                }
        }
+
+       hide();
 }
 
 void BusSelectorDialog::reject()




reply via email to

[Prev in Thread] Current Thread [Next in Thread]