From 8b874f55380dcc36f4d78fb278ce0281dcff0551 Mon Sep 17 00:00:00 2001 From: "Artem S. Tashkinov" Date: Thu, 14 Nov 2013 17:24:30 +0500 Subject: [PATCH 1/2] Remove hardcoded Lucida Grande and decrease a font size --- src/about_imp.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/about_imp.h b/src/about_imp.h index a2c7b5740..db6bde2a0 100644 --- a/src/about_imp.h +++ b/src/about_imp.h @@ -50,7 +50,7 @@ class about : public QDialog, private Ui::AboutDlg{ setAttribute(Qt::WA_DeleteOnClose); // About QString aboutText = - QString::fromUtf8("

") + + QString::fromUtf8("

") + tr("An advanced BitTorrent client programmed in C++, based on Qt4 toolkit and libtorrent-rasterbar.") + QString::fromUtf8("

") + trUtf8("Copyright ©2006-2013 The qBittorrent project") + From ea4ab625315a7fa69a57a63030cacaaf680f5ba7 Mon Sep 17 00:00:00 2001 From: "Artem S. Tashkinov" Date: Thu, 14 Nov 2013 18:04:36 +0500 Subject: [PATCH 2/2] Always show a peer IP address as a tool tip Helps to see a peer IP address when reverse name resolution is enabled. --- src/properties/peerlistwidget.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/properties/peerlistwidget.cpp b/src/properties/peerlistwidget.cpp index ea914885b..043b6717d 100644 --- a/src/properties/peerlistwidget.cpp +++ b/src/properties/peerlistwidget.cpp @@ -366,6 +366,7 @@ QStandardItem* PeerListWidget::addPeer(const QString& ip, const peer_info& peer) // Adding Peer to peer list m_listModel->insertRow(row); m_listModel->setData(m_listModel->index(row, PeerListDelegate::IP), ip); + m_listModel->setData(m_listModel->index(row, PeerListDelegate::IP), ip, Qt::ToolTipRole); m_listModel->setData(m_listModel->index(row, PeerListDelegate::IP_HIDDEN), ip); if (m_displayFlags) { const QIcon ico = GeoIPManager::CountryISOCodeToIcon(peer.country);