Skip to content

make pF variable more readable #6375

@Kebap

Description

@Kebap

Brief summary of issue / Description of requested feature:

We ought to give pF a much better name everywhere in the project.

Steps to reproduce the issue / Reasons for adding feature:

  1. See for example src/dlgRoomSymbol.cpp
  2. There was a function with dlgRoomSymbol::dlgRoomSymbol(Host* pHost, QWidget* pF) : QDialog(pF), mpHost(pHost)

The p is a prefix for pointers and may stay, but what is an F?

Error output / Expected result of feature

The QWidget pointer needs a more readable name.

Extra information, such as the Mudlet version, operating system and ideas for how to solve / implement:

Originally noted / requested by Vadi here:
#4573 (comment)

The original line from the exampe above now reads:
dlgRoomSymbol::dlgRoomSymbol(Host* pHost, QWidget* pParentWidget)
so pF was turned into pParentWidget there, but not everywhere, yet:

grafik

grafik

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions