*************** *** 195,200 **** IconAction *actOptions = new IconAction (tr("Options"), "psi/options", tr("&Options"), 0, this); IconAction *actToolbars = new IconAction(tr("Configure Toolbars"), "psi/toolbars", tr("Configure Tool&bars"), 0, this); IconAction *actChangeProfile = new IconAction (tr("Change Profile"), "psi/profile", tr("&Change profile"), 0, this); IconAction *actPlaySounds = new IconAction (tr("Play sounds"), "psi/playSounds", tr("Play &sounds"), 0, this, 0, true); actPlaySounds->setWhatsThis (tr("Toggles whether sound should be played or not")); --- 195,201 ---- IconAction *actOptions = new IconAction (tr("Options"), "psi/options", tr("&Options"), 0, this); IconAction *actToolbars = new IconAction(tr("Configure Toolbars"), "psi/toolbars", tr("Configure Tool&bars"), 0, this); IconAction *actChangeProfile = new IconAction (tr("Change Profile"), "psi/profile", tr("&Change profile"), 0, this); + actChangeProfile->setEnabled( !argp->existsArg("profiledir") ); IconAction *actPlaySounds = new IconAction (tr("Play sounds"), "psi/playSounds", tr("Play &sounds"), 0, this, 0, true); actPlaySounds->setWhatsThis (tr("Toggles whether sound should be played or not"));