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
|
||||
*.user.*
|
||||
|
||||
# Translation files
|
||||
*.qm
|
||||
|
|
|
@ -33,7 +33,7 @@ BottomButtonGroup::BottomButtonGroup(QWidget *parent)
|
|||
QPushButton * btn = new QPushButton(QIcon(QStringLiteral(":/icons/") + text), "");
|
||||
btn->setIconSize(QSize(40, 40));
|
||||
btn->setFixedSize(40, 40);
|
||||
connect(btn, &QAbstractButton::clicked, btn, func);
|
||||
QObject::connect(btn, &QAbstractButton::clicked, btn, func);
|
||||
return btn;
|
||||
};
|
||||
addButton(newBtn("zoom-original", [this]() {
|
||||
|
|
Loading…
Reference in New Issue
Block a user