Fix build and rename variables to be camelCase
This commit is contained in:
@@ -5,7 +5,6 @@
|
|||||||
<file>error.png</file>
|
<file>error.png</file>
|
||||||
<file>.gitignore</file>
|
<file>.gitignore</file>
|
||||||
<file>tlds.txt</file>
|
<file>tlds.txt</file>
|
||||||
<file>Makefile</file>
|
|
||||||
<file>contributors.txt</file>
|
<file>contributors.txt</file>
|
||||||
<file>pajaDank.png</file>
|
<file>pajaDank.png</file>
|
||||||
<file>chatterino.icns</file>
|
<file>chatterino.icns</file>
|
||||||
|
|||||||
@@ -62,11 +62,11 @@ UserInfoPopup::UserInfoPopup()
|
|||||||
name_box.withoutMargin();
|
name_box.withoutMargin();
|
||||||
|
|
||||||
auto name = name_box.emplace<Label>().assign(&this->ui_.nameLabel);
|
auto name = name_box.emplace<Label>().assign(&this->ui_.nameLabel);
|
||||||
LayoutCreator<EffectLabel2> copy_user_name = name_box.emplace<EffectLabel2>(this);
|
LayoutCreator<EffectLabel2> copyUserName = name_box.emplace<EffectLabel2>(this);
|
||||||
copy_user_name->setPixmap(app->resources->buttons.copyDark);
|
copyUserName->setPixmap(app->resources->buttons.copyDark);
|
||||||
// TODO(mm2pl): change this when the card get themed.
|
// TODO(mm2pl): change this when the card get themed.
|
||||||
|
|
||||||
copy_user_name->setScaleIndependantSize(32, 32);
|
copyUserName->setScaleIndependantSize(32, 32);
|
||||||
|
|
||||||
auto font = name->font();
|
auto font = name->font();
|
||||||
font.setBold(true);
|
font.setBold(true);
|
||||||
@@ -74,7 +74,7 @@ UserInfoPopup::UserInfoPopup()
|
|||||||
|
|
||||||
name_box->addStretch(1);
|
name_box->addStretch(1);
|
||||||
|
|
||||||
QObject::connect(copy_user_name.getElement(), &Button::leftClicked, [this] {
|
QObject::connect(copyUserName.getElement(), &Button::leftClicked, [this] {
|
||||||
QClipboard *clipboard = QGuiApplication::clipboard();
|
QClipboard *clipboard = QGuiApplication::clipboard();
|
||||||
clipboard->setText(this->userName_);
|
clipboard->setText(this->userName_);
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user