использовать UTF8 знак примерно равно 128/head
authorfsb4000 <fsb4000@yandex.ru>
Mon, 26 Jan 2015 09:31:49 +0000 (15:31 +0600)
committerfsb4000 <fsb4000@yandex.ru>
Mon, 26 Jan 2015 09:31:49 +0000 (15:31 +0600)
src/qt/coincontroldialog.cpp
src/qt/coincontroldialog.h

index cedeadb..93f6cea 100644 (file)
@@ -539,7 +539,7 @@ void CoinControlDialog::updateLabels(WalletModel *model, QWidget* dialog)
     l2->setText(BitcoinUnits::formatWithUnit(nDisplayUnit, nAmount));            // Amount
     l3->setText(BitcoinUnits::formatWithUnit(nDisplayUnit, nPayFee, false, 3));  // Fee
     l4->setText(BitcoinUnits::formatWithUnit(nDisplayUnit, nAfterFee));          // After Fee
-    l5->setText(((nBytes > 0) ? "~" : "") + QString::number(nBytes));            // Bytes
+    l5->setText(((nBytes > 0) ? ASYMP_UTF8 : "") + QString::number(nBytes));     // Bytes
     l6->setText(sPriorityLabel);                                                 // Priority
     l7->setText((fLowOutput ? (fDust ? tr("DUST") : tr("yes")) : tr("no")));     // Low Output / Dust
     l8->setText(BitcoinUnits::formatWithUnit(nDisplayUnit, nChange));            // Change
index 17d73c6..ba0cf60 100644 (file)
@@ -16,6 +16,8 @@ namespace Ui {
 class WalletModel;
 class CCoinControl;
 
+#define ASYMP_UTF8 "\xE2\x89\x88"
+
 class CoinControlDialog : public QWidget
 {
     Q_OBJECT