mirror of
https://github.com/edisionnano/QDiskInfo.git
synced 2026-03-12 07:40:54 +03:00
Assign the correct type to some variable and fix shadowing cases
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
#include "custombutton.h"
|
||||
#include <QFontMetrics>
|
||||
|
||||
CustomButton::CustomButton(const QString &text1, const QString &text2, const QString &text3, const QColor &lineColor, QWidget *parent)
|
||||
: QPushButton(parent), text1(text1), text2(text2), text3(text3), lineColor(lineColor) {
|
||||
CustomButton::CustomButton(const QString &text1_, const QString &text2_, const QString &text3_, const QColor &lineColor_, QWidget *parent)
|
||||
: QPushButton(parent), text1(text1_), text2(text2_), text3(text3_), lineColor(lineColor_) {
|
||||
setMinimumHeight(60);
|
||||
adjustWidthToFitText();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user