Mercurial > hg > tony
comparison src/MainWindow.cpp @ 319:8c45041d3e91
removed icon from Save to Audio Path
author | matthiasm |
---|---|
date | Fri, 13 Jun 2014 13:32:27 +0100 |
parents | 440190ed1450 |
children | 68779eb910c7 |
comparison
equal
deleted
inserted
replaced
318:440190ed1450 | 319:8c45041d3e91 |
---|---|
479 connect(action, SIGNAL(triggered()), this, SLOT(saveSessionAs())); | 479 connect(action, SIGNAL(triggered()), this, SLOT(saveSessionAs())); |
480 connect(this, SIGNAL(canSaveAs(bool)), action, SLOT(setEnabled(bool))); | 480 connect(this, SIGNAL(canSaveAs(bool)), action, SLOT(setEnabled(bool))); |
481 menu->addAction(action); | 481 menu->addAction(action); |
482 toolbar->addAction(action); | 482 toolbar->addAction(action); |
483 | 483 |
484 icon = il.load("filesave"); | 484 action = new QAction(tr("Save Session to Audio &Path"), this); |
485 icon.addPixmap(il.loadPixmap("filesave-22")); | |
486 action = new QAction(icon, tr("Save Session to Audio &Path"), this); | |
487 action->setShortcut(tr("Ctrl+Alt+S")); | 485 action->setShortcut(tr("Ctrl+Alt+S")); |
488 action->setStatusTip(tr("Save the current session into a %1 session file with the same filename as the audio but a .ton extension.").arg(QApplication::applicationName())); | 486 action->setStatusTip(tr("Save the current session into a %1 session file with the same filename as the audio but a .ton extension.").arg(QApplication::applicationName())); |
489 connect(action, SIGNAL(triggered()), this, SLOT(saveSessionInAudioPath())); | 487 connect(action, SIGNAL(triggered()), this, SLOT(saveSessionInAudioPath())); |
490 connect(this, SIGNAL(canSaveAs(bool)), action, SLOT(setEnabled(bool))); | 488 connect(this, SIGNAL(canSaveAs(bool)), action, SLOT(setEnabled(bool))); |
491 menu->addAction(action); | 489 menu->addAction(action); |