Merge pull request #3205 from Diapolo/intro
[Qt] use tr() instead of QObject::tr() in intro.cpp
This commit is contained in:
commit
07131220f3
@ -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 */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user