comparison main/MainWindow.cpp @ 336:193e0d6eb6de

* ctrl+shift+s (or cmd+... on mac) shortcut for save as (for dans)
author Chris Cannam
date Fri, 25 Sep 2009 10:22:36 +0000
parents f50fa43143ae
children 33ae130b951f
comparison
equal deleted inserted replaced
335:8fdfdd85881a 336:193e0d6eb6de
409 toolbar->addAction(action); 409 toolbar->addAction(action);
410 410
411 icon = il.load("filesaveas"); 411 icon = il.load("filesaveas");
412 icon.addPixmap(il.loadPixmap("filesaveas-22")); 412 icon.addPixmap(il.loadPixmap("filesaveas-22"));
413 action = new QAction(icon, tr("Save Session &As..."), this); 413 action = new QAction(icon, tr("Save Session &As..."), this);
414 action->setShortcut(tr("Ctrl+Shift+S"));
414 action->setStatusTip(tr("Save the current session into a new Sonic Visualiser session file")); 415 action->setStatusTip(tr("Save the current session into a new Sonic Visualiser session file"));
415 connect(action, SIGNAL(triggered()), this, SLOT(saveSessionAs())); 416 connect(action, SIGNAL(triggered()), this, SLOT(saveSessionAs()));
416 menu->addAction(action); 417 menu->addAction(action);
417 toolbar->addAction(action); 418 toolbar->addAction(action);
418 419