void OptionsSimple::showHelp() { QList<CodecProblems::Problem> problemList; QMap<QString,QStringList> problems = config->pluginLoader()->encodeProblems(); for( int i=0; i<problems.count(); i++ ) { CodecProblems::Problem problem; problem.codecName = problems.keys().at(i); if( problem.codecName != "wav" ) { problem.solutions = problems.value(problem.codecName); problemList += problem; } } CodecProblems *problemsDialog = new CodecProblems( CodecProblems::Debug, problemList, this ); problemsDialog->exec(); }
void DirOpener::showHelp() { QList<CodecProblems::Problem> problemList; QMap<QString,QStringList> problems = ( mode == Convert ) ? config->pluginLoader()->decodeProblems() : config->pluginLoader()->replaygainProblems(); for( int i=0; i<problems.count(); i++ ) { CodecProblems::Problem problem; problem.codecName = problems.keys().at(i); if( problem.codecName != "wav" ) { problem.solutions = problems.value(problem.codecName); problemList += problem; } } CodecProblems *problemsDialog = new CodecProblems( CodecProblems::Debug, problemList, this ); problemsDialog->exec(); }