mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
fixed DHT icon size problem
This commit is contained in:
parent
9063612c33
commit
fc3606c18e
@ -55,7 +55,8 @@ DHTStatus::DHTStatus(QWidget *parent)
|
||||
|
||||
dhtnetworkLabel = new QLabel( this );
|
||||
dhtnetworkLabel->setVisible(false);
|
||||
dhtnetworkLabel->setPixmap(QPixmap(":/images/dht32.png"));
|
||||
int S = QFontMetricsF(dhtnetworkLabel->font()).height();
|
||||
dhtnetworkLabel->setPixmap(QPixmap(":/images/dht32.png").scaledToHeight(S,Qt::SmoothTransformation));
|
||||
hbox->addWidget(dhtnetworkLabel);
|
||||
|
||||
dhtnetworksizeLabel = new QLabel( "0 (0) ",this );
|
||||
|
Loading…
Reference in New Issue
Block a user