//open the file
if ( !help.exists() || !help.open( QIODevice::ReadOnly ) ) {
- //try to open the file in english language instead
- help.setFileName(":/txt/help_en");
- if ( !help.exists() || !help.open( QIODevice::ReadOnly ) ) {
- QMessageBox::critical(this, tr("QCPUFreq"), tr("Cannot open help file!"));
- return;
- }
+ //try to open the file in english language instead
+ help.setFileName(":/txt/help_en");
+ if ( !help.exists() || !help.open( QIODevice::ReadOnly ) ) {
+ QMessageBox::critical(this, tr("QCPUFreq"), tr("Cannot open help file!"));
+ return;
+ }
}
//read the file