mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-28 14:50:52 +01:00
Correction de la documentation : noms de variables ignores ou non mentionnes
Correction d'un probleme de compilation si les options QET_ALLOW_OVERRIDE_CED_OPTION et/ou QET_ALLOW_OVERRIDE_CD_OPTION n'etaient pas actives. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@782 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -65,7 +65,8 @@ uint PartLine::requiredLengthForEndType(const QET::EndType &end_type) {
|
||||
@param options Options pour affiner le rendu
|
||||
@param widget Widget sur lequel le rendu est effectue
|
||||
*/
|
||||
void PartLine::paint(QPainter *painter, const QStyleOptionGraphicsItem *options, QWidget */*w*/) {
|
||||
void PartLine::paint(QPainter *painter, const QStyleOptionGraphicsItem *options, QWidget *widget) {
|
||||
Q_UNUSED(widget);
|
||||
// inutile de dessiner une ligne nulle
|
||||
if (line().p1() == line().p2()) return;
|
||||
applyStylesToQPainter(*painter);
|
||||
|
||||
Reference in New Issue
Block a user