qBittorrent
anonymous_namespace{downloadedpiecesbar.cpp} Namespace Reference

Functions

QColor dlPieceColor (const QColor &pieceColor)
 

Function Documentation

◆ dlPieceColor()

QColor anonymous_namespace{downloadedpiecesbar.cpp}::dlPieceColor ( const QColor &  pieceColor)

Definition at line 39 of file downloadedpiecesbar.cpp.

40  {
41  const QColor green {Qt::green};
42  return QColor::fromHsl(green.hslHue(), pieceColor.hslSaturation(), pieceColor.lightness());
43  }