Browse Source

Merge pull request #1592 from Diapolo/Qt_WindowTitle

change Window title to "Bitcoin - Wallet" / misc related renames
0.8
Wladimir J. van der Laan 13 years ago
parent
commit
1c009d622d
  1. 5
      src/qt/bitcoingui.cpp
  2. 4
      src/qt/forms/rpcconsole.ui

5
src/qt/bitcoingui.cpp

@ -51,7 +51,6 @@
#include <QFileDialog> #include <QFileDialog>
#include <QDesktopServices> #include <QDesktopServices>
#include <QTimer> #include <QTimer>
#include <QDragEnterEvent> #include <QDragEnterEvent>
#include <QUrl> #include <QUrl>
@ -69,7 +68,7 @@ BitcoinGUI::BitcoinGUI(QWidget *parent):
rpcConsole(0) rpcConsole(0)
{ {
resize(850, 550); resize(850, 550);
setWindowTitle(tr("Bitcoin Wallet")); setWindowTitle(tr("Bitcoin") + " - " + tr("Wallet"));
#ifndef Q_WS_MAC #ifndef Q_WS_MAC
qApp->setWindowIcon(QIcon(":icons/bitcoin")); qApp->setWindowIcon(QIcon(":icons/bitcoin"));
setWindowIcon(QIcon(":icons/bitcoin")); setWindowIcon(QIcon(":icons/bitcoin"));
@ -255,7 +254,7 @@ void BitcoinGUI::createActions()
quitAction->setToolTip(tr("Quit application")); quitAction->setToolTip(tr("Quit application"));
quitAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q)); quitAction->setShortcut(QKeySequence(Qt::CTRL + Qt::Key_Q));
quitAction->setMenuRole(QAction::QuitRole); quitAction->setMenuRole(QAction::QuitRole);
aboutAction = new QAction(QIcon(":/icons/bitcoin"), tr("&About %1").arg(qApp->applicationName()), this); aboutAction = new QAction(QIcon(":/icons/bitcoin"), tr("&About Bitcoin"), this);
aboutAction->setToolTip(tr("Show information about Bitcoin")); aboutAction->setToolTip(tr("Show information about Bitcoin"));
aboutAction->setMenuRole(QAction::AboutRole); aboutAction->setMenuRole(QAction::AboutRole);
aboutQtAction = new QAction(tr("About &Qt"), this); aboutQtAction = new QAction(tr("About &Qt"), this);

4
src/qt/forms/rpcconsole.ui

@ -11,7 +11,7 @@
</rect> </rect>
</property> </property>
<property name="windowTitle"> <property name="windowTitle">
<string>Bitcoin debug window</string> <string>Bitcoin - Debug window</string>
</property> </property>
<layout class="QVBoxLayout" name="verticalLayout_2"> <layout class="QVBoxLayout" name="verticalLayout_2">
<item> <item>
@ -36,7 +36,7 @@
</font> </font>
</property> </property>
<property name="text"> <property name="text">
<string>Client</string> <string>Bitcoin Core</string>
</property> </property>
</widget> </widget>
</item> </item>

Loading…
Cancel
Save