添加chatGPT帮忙写的通知推送

This commit is contained in:
2022-12-11 20:40:01 +08:00
parent 478db77d36
commit 271a7e33f4
5 changed files with 44 additions and 1 deletions

View File

@@ -330,7 +330,7 @@ void AppIntoPage::on_pushButton_3_clicked()
void AppIntoPage::on_shareButton_clicked()
{
qDebug() << "Share" << spk;
Utils::sendNotification("spark-store",tr("Spark Store"),tr("The URL has been copied to the clipboard"));
QClipboard *clipboard = QApplication::clipboard();
clipboard->setText(spk.toString());
}