From d5f0ef54f8a654432df7b4825c0539440cb32ea4 Mon Sep 17 00:00:00 2001 From: Philip Kaufmann Date: Sat, 28 Sep 2013 19:29:44 +0200 Subject: several small Qt-related fixes - make BitcoinGUI::showPaymentACK() use a reference for msg and use our own GUIUtil::HtmlEscape() function - ensure QTimer usage in clientmodel is the same as in walletmodel - remove an unneeded debug message in walletframe - flag some parameters as unused in DebugMessageHandler() - small code formatting changes --- src/qt/bitcoin.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/qt/bitcoin.cpp') diff --git a/src/qt/bitcoin.cpp b/src/qt/bitcoin.cpp index f184fb9ef..78693971d 100644 --- a/src/qt/bitcoin.cpp +++ b/src/qt/bitcoin.cpp @@ -155,11 +155,14 @@ static void initTranslations(QTranslator &qtTranslatorBase, QTranslator &qtTrans #if QT_VERSION < 0x050000 void DebugMessageHandler(QtMsgType type, const char * msg) { + Q_UNUSED(type); LogPrint("qt", "Bitcoin-Qt: %s\n", msg); } #else void DebugMessageHandler(QtMsgType type, const QMessageLogContext& context, const QString &msg) { + Q_UNUSED(type); + Q_UNUSED(context); LogPrint("qt", "Bitcoin-Qt: %s\n", qPrintable(msg)); } #endif -- cgit v1.2.3