mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-20 11:40:54 +03:00
Assign the correct type to some variable and fix shadowing cases
This commit is contained in:
@@ -8,7 +8,7 @@ class CustomButton : public QPushButton {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
CustomButton(const QString &text1, const QString &text2, const QString &text3, const QColor &lineColor, QWidget *parent = nullptr);
|
||||
CustomButton(const QString &text1_, const QString &text2_, const QString &text3_, const QColor &lineColor_, QWidget *parent = nullptr);
|
||||
|
||||
protected:
|
||||
void paintEvent(QPaintEvent *event) override;
|
||||
@@ -18,7 +18,6 @@ protected:
|
||||
void setText3(const QString &newText3);
|
||||
void adjustWidthToFitText();
|
||||
|
||||
|
||||
private:
|
||||
QString text1;
|
||||
QString text2;
|
||||
|
||||
Reference in New Issue
Block a user