Merge pull request #3205 from Diapolo/intro

[Qt] use tr() instead of QObject::tr() in intro.cpp
This commit is contained in:
Wladimir J. van der Laan 2013-11-05 09:02:13 -08:00
commit 07131220f3

View File

@ -181,8 +181,8 @@ void Intro::pickDataDirectory(bool fIsTestnet)
fs::create_directory(dataDir.toStdString()); fs::create_directory(dataDir.toStdString());
break; break;
} catch(fs::filesystem_error &e) { } catch(fs::filesystem_error &e) {
QMessageBox::critical(0, QObject::tr("Bitcoin"), QMessageBox::critical(0, tr("Bitcoin"),
QObject::tr("Error: Specified data directory \"%1\" can not be created.").arg(dataDir)); tr("Error: Specified data directory \"%1\" can not be created.").arg(dataDir));
/* fall through, back to choosing screen */ /* fall through, back to choosing screen */
} }
} }