fix tooltip background

This commit is contained in:
UdjinM6 2015-05-20 23:09:31 +03:00
parent 34a205b9a6
commit 472d2a21d6

View File

@ -177,11 +177,7 @@ BitcoinGUI::BitcoinGUI(const NetworkStyle *networkStyle, QWidget *parent) :
labelEncryptionIcon = new QLabel(); labelEncryptionIcon = new QLabel();
labelConnectionsIcon = new QPushButton(); labelConnectionsIcon = new QPushButton();
labelConnectionsIcon->setFlat(true); // Make the button look like a label, but clickable labelConnectionsIcon->setFlat(true); // Make the button look like a label, but clickable
#ifndef Q_OS_MAC labelConnectionsIcon->setStyleSheet(".QPushButton { background-color: rgba(255, 255, 255, 0);}");
labelConnectionsIcon->setStyleSheet("background-color: rgba(255, 255, 255, 0);");
#else
labelConnectionsIcon->setStyleSheet("QPushButton { background-color: rgba(255, 255, 255, 0);} QPushButton QToolTip { background-color: black;}");
#endif
labelConnectionsIcon->setMaximumSize(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE); labelConnectionsIcon->setMaximumSize(STATUSBAR_ICONSIZE, STATUSBAR_ICONSIZE);
labelBlocksIcon = new QLabel(); labelBlocksIcon = new QLabel();
if(enableWallet) if(enableWallet)