mirror of
https://github.com/RetroShare/RetroShare.git
synced 2024-10-01 02:35:48 -04:00
Set a better selection color for the wire item
This commit is contained in:
parent
2620663dac
commit
98389409f6
@ -113,7 +113,7 @@ void WireGroupItem::setSelected(bool on)
|
||||
// set color too
|
||||
if (mSelected)
|
||||
{
|
||||
setBackground("red");
|
||||
setBackground(QColor (65, 159, 217));
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -122,7 +122,7 @@ void WireGroupItem::setSelected(bool on)
|
||||
}
|
||||
|
||||
|
||||
void WireGroupItem::setBackground(QString color)
|
||||
void WireGroupItem::setBackground(QColor color)
|
||||
{
|
||||
QWidget *tocolor = this;
|
||||
QPalette p = tocolor->palette();
|
||||
|
@ -62,7 +62,7 @@ protected:
|
||||
private:
|
||||
void setup();
|
||||
void setGroupSet();
|
||||
void setBackground(QString color);
|
||||
void setBackground(QColor color);
|
||||
|
||||
WireGroupHolder *mHolder;
|
||||
RsWireGroup mGroup;
|
||||
|
Loading…
Reference in New Issue
Block a user