# HG changeset patch # User Chris Cannam # Date 1407917356 -3600 # Node ID 61c0f32d93b33c809a86b60f355eab16de050768 # Parent 37a65d229dc59a3eafe0d8ad3c7005384a5230fa Some temporary action debug output diff -r 37a65d229dc5 -r 61c0f32d93b3 .hgsubstate --- a/.hgsubstate Mon Aug 11 11:30:18 2014 +0100 +++ b/.hgsubstate Wed Aug 13 09:09:16 2014 +0100 @@ -1,5 +1,5 @@ d16f0fd6db6104d87882bc43788a3bb1b0f8c528 dataquay 879bdc878826bebec67130326f99397c430419b1 sv-dependency-builds -479f60cf85d8e267ae22a51ce2d65015f55dc392 svapp +8cfc71c8ec4b16c9fe0ceb5208c3de02ebd175e9 svapp ad14e7ed096da9f3819371e0ac49082b6b34d4fa svcore 8bb9320f78a420033e26bc62cd0caa2588af5056 svgui diff -r 37a65d229dc5 -r 61c0f32d93b3 main/MainWindow.cpp --- a/main/MainWindow.cpp Mon Aug 11 11:30:18 2014 +0100 +++ b/main/MainWindow.cpp Wed Aug 13 09:09:16 2014 +0100 @@ -1065,6 +1065,7 @@ m_paneActions[action] = LayerConfiguration(LayerFactory::TimeRuler); m_keyReference->registerShortcut(action); menu->addAction(action); + cerr << "created new pane action " << action << ", name " << action->text() << endl; menu->addSeparator(); @@ -3424,6 +3425,8 @@ { QObject *s = sender(); QAction *action = dynamic_cast(s); + + cerr << "addPane: sender is " << s << ", action is " << action << ", name " << action->text() << endl; if (!action) { cerr << "WARNING: MainWindow::addPane: sender is not an action" @@ -3436,6 +3439,11 @@ if (i == m_paneActions.end()) { cerr << "WARNING: MainWindow::addPane: unknown action " << action->objectName() << endl; + cerr << "known actions are:" << endl; + for (PaneActionMap::const_iterator i = m_paneActions.begin(); + i != m_paneActions.end(); ++i) { + cerr << i->first << ", name " << i->first->text() << endl; + } return; }