mirror of
https://github.com/RetroShare/RetroShare.git
synced 2025-09-20 12:54:52 -04:00
fixed DHT icon size problem
This commit is contained in:
parent
9063612c33
commit
fc3606c18e
1 changed files with 2 additions and 1 deletions
|
@ -55,7 +55,8 @@ DHTStatus::DHTStatus(QWidget *parent)
|
||||||
|
|
||||||
dhtnetworkLabel = new QLabel( this );
|
dhtnetworkLabel = new QLabel( this );
|
||||||
dhtnetworkLabel->setVisible(false);
|
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);
|
hbox->addWidget(dhtnetworkLabel);
|
||||||
|
|
||||||
dhtnetworksizeLabel = new QLabel( "0 (0) ",this );
|
dhtnetworksizeLabel = new QLabel( "0 (0) ",this );
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue