fix: MSVC build warning in bottombuttongroup.cpp
This commit is contained in:
parent
0dfbb45238
commit
0a9ea1982b
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,5 +1,6 @@
|
||||||
# User files
|
# User files
|
||||||
*.user
|
*.user
|
||||||
|
*.user.*
|
||||||
|
|
||||||
# Translation files
|
# Translation files
|
||||||
*.qm
|
*.qm
|
||||||
|
|
|
@ -33,7 +33,7 @@ BottomButtonGroup::BottomButtonGroup(QWidget *parent)
|
||||||
QPushButton * btn = new QPushButton(QIcon(QStringLiteral(":/icons/") + text), "");
|
QPushButton * btn = new QPushButton(QIcon(QStringLiteral(":/icons/") + text), "");
|
||||||
btn->setIconSize(QSize(40, 40));
|
btn->setIconSize(QSize(40, 40));
|
||||||
btn->setFixedSize(40, 40);
|
btn->setFixedSize(40, 40);
|
||||||
connect(btn, &QAbstractButton::clicked, btn, func);
|
QObject::connect(btn, &QAbstractButton::clicked, btn, func);
|
||||||
return btn;
|
return btn;
|
||||||
};
|
};
|
||||||
addButton(newBtn("zoom-original", [this]() {
|
addButton(newBtn("zoom-original", [this]() {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user