[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdenlive/next] src: jogshuttle: remove cruft
From:       Vincent PINON <vincent.pinon () laposte ! net>
Date:       2014-04-30 20:27:49
Message-ID: E1Wfb6b-0003AX-4H () scm ! kde ! org
[Download RAW message or body]

Git commit 79447f26737a833897ac665bd6687b2b8ecacf8e by Vincent PINON, on behalf of Ed \
Rogalsky. Committed on 16/03/2014 at 09:56.
Pushed by vpinon into branch 'next'.

jogshuttle: remove cruft

M  +1    -2    src/jogaction.cpp

http://commits.kde.org/kdenlive/79447f26737a833897ac665bd6687b2b8ecacf8e

diff --git a/src/jogaction.cpp b/src/jogaction.cpp
index 42a273a..e6cafa2 100644
--- a/src/jogaction.cpp
+++ b/src/jogaction.cpp
@@ -40,7 +40,6 @@ JogShuttleAction::JogShuttleAction (const JogShuttle* jogShuttle, \
                const QStringL
     connect(m_jogShuttle, SIGNAL(jogForward()), this, SLOT(slotJogForward()));
     connect(m_jogShuttle, SIGNAL(shuttlePos(int)), this, SLOT(slotShuttlePos(int)));
     connect(m_jogShuttle, SIGNAL(button(int)), this, SLOT(slotButton(int)));
-    //for (int i = 0; i < actionMap.size(); ++i) fprintf(stderr, "button #%d -> \
action '%s'\n", i, actionMap[i].toAscii().constData());  //DBG  }
 
 JogShuttleAction::~JogShuttleAction()
@@ -80,7 +79,7 @@ void JogShuttleAction::slotButton(int button_id)
 {
     if (button_id >= m_actionMap.size() || m_actionMap[button_id].isEmpty()) {
         // TODO(fleury): Shoudl this go to the status bar to inform the user ?
-        fprintf(stderr, "Button %d has no action\n", button_id);
+        kDebug() << "No action applied for button: " << button_id;
         return;
     }
     //kDebug() << "Shuttle button =" << button_id << ": action=" << \
m_actionMap[button_id];


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic