Skip to content

Commit

Permalink
Merge pull request bitcoin#174 from sandakersmann/develop
Browse files Browse the repository at this point in the history
Rebranding of debug window (show command-line options)
  • Loading branch information
hrobeers committed Oct 8, 2017
2 parents 5841be4 + cdb5601 commit 730242a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/qt/guiutil.cpp
Expand Up @@ -442,10 +442,10 @@ bool SetStartOnSystemStartup(bool fAutoStart) { return false; }
HelpMessageBox::HelpMessageBox(QWidget *parent) :
QMessageBox(parent)
{
header = tr("Bitcoin-Qt") + " " + tr("version") + " " +
header = tr("Peercoin-Qt") + " " + tr("version") + " " +
QString::fromStdString(FormatFullVersion()) + "\n\n" +
tr("Usage:") + "\n" +
" bitcoin-qt [" + tr("command-line options") + "] " + "\n";
" peercoin-qt [" + tr("command-line options") + "] " + "\n";

coreOptions = QString::fromStdString(HelpMessage());

Expand All @@ -454,7 +454,7 @@ HelpMessageBox::HelpMessageBox(QWidget *parent) :
" -min " + tr("Start minimized") + "\n" +
" -splash " + tr("Show splash screen on startup (default: 1)") + "\n";

setWindowTitle(tr("Bitcoin-Qt"));
setWindowTitle(tr("Peercoin-Qt"));
setTextFormat(Qt::PlainText);
// setMinimumWidth is ignored for QMessageBox so put in non-breaking spaces to make it wider.
setText(header + QString(QChar(0x2003)).repeated(50));
Expand Down
2 changes: 1 addition & 1 deletion src/qt/guiutil.h
Expand Up @@ -96,7 +96,7 @@ namespace GUIUtil
bool GetStartOnSystemStartup();
bool SetStartOnSystemStartup(bool fAutoStart);

/** Help message for Bitcoin-Qt, shown with --help. */
/** Help message for Peercoin-Qt, shown with --help. */
class HelpMessageBox : public QMessageBox
{
Q_OBJECT
Expand Down

0 comments on commit 730242a

Please sign in to comment.