1
0
mirror of https://github.com/qTox/qTox.git synced 2024-03-22 14:00:36 +08:00

EmoticonsWidget: use HandCursor

This commit is contained in:
krepa098 2014-09-25 15:38:47 +02:00
parent 52d18f9f18
commit 458636e6d6

View File

@ -66,6 +66,7 @@ EmoticonsWidget::EmoticonsWidget(QWidget *parent) :
{
QRadioButton* pageButton = new QRadioButton;
pageButton->setProperty("pageIndex", i);
pageButton->setCursor(Qt::PointingHandCursor);
pageButton->setChecked(i == 0);
buttonLayout->addWidget(pageButton);
@ -80,6 +81,7 @@ EmoticonsWidget::EmoticonsWidget(QWidget *parent) :
button->setIcon(SmileyPack::getInstance().getAsIcon(set[0]));
button->setToolTip(set.join(" "));
button->setProperty("sequence", set[0]);
button->setCursor(Qt::PointingHandCursor);
button->setFlat(true);
connect(button, &QPushButton::clicked, this, &EmoticonsWidget::onSmileyClicked);