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") +
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);