Fix clipboard behavior in deck editor and game

This commit is contained in:
Fabio Bas 2016-08-09 11:13:36 +02:00
parent 0f0f9a1246
commit c321227fa7
3 changed files with 15 additions and 5 deletions

View file

@ -280,7 +280,7 @@ void MainWindow::actExit()
void MainWindow::actAbout()
{
QMessageBox::about(this, tr("About Cockatrice"), QString(
QMessageBox mb(QMessageBox::NoIcon, tr("About Cockatrice"), QString(
"<font size=\"8\"><b>Cockatrice</b></font><br>"
+ tr("Version %1").arg(VERSION_STRING)
+ "<br><br><b><a href='" + GITHUB_PAGES_URL + "'>" + tr("Cockatrice Webpage") + "</a></b><br>"
@ -295,8 +295,12 @@ void MainWindow::actAbout()
+ "<b>" + tr("Support:") + "</b><br>"
+ "<a href='" + GITHUB_ISSUES_URL + "'>" + tr("Report an Issue") + "</a><br>"
+ "<a href='" + GITHUB_TROUBLESHOOTING_URL + "'>" + tr("Troubleshooting") + "</a><br>"
+ "<a href='" + GITHUB_FAQ_URL + "'>" + tr("F.A.Q.") + "</a><br>"
));
+ "<a href='" + GITHUB_FAQ_URL + "'>" + tr("F.A.Q.") + "</a><br>"),
QMessageBox::Ok, this
);
mb.setIconPixmap(QPixmap("theme:cockatrice").scaled(64, 64));
mb.setTextInteractionFlags(Qt::TextBrowserInteraction);
mb.exec();
}
void MainWindow::actUpdate()