rename button

This commit is contained in:
DenioD
2020-06-21 22:25:40 +02:00
parent 27d743646a
commit ff064b2624
2 changed files with 2 additions and 14 deletions

View File

@@ -2617,7 +2617,7 @@ void MainWindow::on_givemeZaddr_clicked()
});
}
void MainWindow::on_pushButton_clicked()
void MainWindow::emojiButton_clicked()
{
QDialog emojiDialog(this);
@@ -2671,12 +2671,3 @@ QObject::connect(emoji.partying_face, &QPushButton::clicked, [&] () {
emojiDialog.exec();
}
void MainWindow::on_comboBox_currentIndexChanged(const QString &arg1)
{
Qt::Key key = Qt::Key_1;
QKeyEvent pressEvent = QKeyEvent(QEvent::KeyPress, key, Qt::NoModifier, QKeySequence(key).toString());
QKeyEvent releaseEvent = QKeyEvent(QEvent::KeyRelease, key, Qt::NoModifier);
QCoreApplication::sendEvent(ui->memoTxtChat, &pressEvent);
QCoreApplication::sendEvent(ui->memoTxtChat, &releaseEvent);
}

View File

@@ -113,10 +113,7 @@ private slots:
// void on_pushButton_clicked();
void on_pushButton_clicked();
void on_comboBox_currentIndexChanged(const QString &arg1);
void emojiButton_clicked();
private:
bool fileExists(QString path);