Mercurial > hg > svcore
comparison base/CommandHistory.cpp @ 117:c30728d5625c sv1-v0.9rc1
* Make vertical scale alignment modes work in note layer as well as time-value
layer, and several significant fixes to it
* Make it possible to draw notes properly on the note layer
* Show units (and frequencies etc in note layer's case) in the time-value and
note layer description boxes
* Minor fix to item edit dialog layout
* Some minor menu rearrangement
* Comment out a lot of debug output
* Add SV website and reference URLs to Help menu, and add code to (attempt to)
open them in the user's preferred browser
author | Chris Cannam |
---|---|
date | Fri, 12 May 2006 14:40:43 +0000 |
parents | 90ade4fa63be |
children | ce6f65ab3327 |
comparison
equal
deleted
inserted
replaced
116:a08718723b20 | 117:c30728d5625c |
---|---|
384 CommandHistory::clearStack(CommandStack &stack) | 384 CommandHistory::clearStack(CommandStack &stack) |
385 { | 385 { |
386 while (!stack.empty()) { | 386 while (!stack.empty()) { |
387 Command *command = stack.top(); | 387 Command *command = stack.top(); |
388 // Not safe to call getName() on a command about to be deleted | 388 // Not safe to call getName() on a command about to be deleted |
389 std::cerr << "CommandHistory::clearStack: About to delete command " << command << std::endl; | 389 // std::cerr << "CommandHistory::clearStack: About to delete command " << command << std::endl; |
390 delete command; | 390 delete command; |
391 stack.pop(); | 391 stack.pop(); |
392 } | 392 } |
393 } | 393 } |
394 | 394 |