Skip to content

Commit

Permalink
[Qt] use tr() instead of QObject::tr() in intro.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Kaufmann committed Nov 5, 2013
1 parent c82cddc commit 011e1c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/qt/intro.cpp
Expand Up @@ -181,8 +181,8 @@ void Intro::pickDataDirectory(bool fIsTestnet)
fs::create_directory(dataDir.toStdString());
break;
} catch(fs::filesystem_error &e) {
QMessageBox::critical(0, QObject::tr("Bitcoin"),
QObject::tr("Error: Specified data directory \"%1\" can not be created.").arg(dataDir));
QMessageBox::critical(0, tr("Bitcoin"),
tr("Error: Specified data directory \"%1\" can not be created.").arg(dataDir));
/* fall through, back to choosing screen */
}
}
Expand Down

0 comments on commit 011e1c0

Please sign in to comment.