diff --git a/src/win_main.cpp b/src/win_main.cpp index 57afc59..bd156da 100644 --- a/src/win_main.cpp +++ b/src/win_main.cpp @@ -277,7 +277,29 @@ void MainWindow::showAbout(void) text += QString().sprintf("Note that this program is distributed with ABSOLUTELY NO WARRANTY.

"); text += QString().sprintf("Please check the web-site at %s for updates !!!
", home_url, home_url); - QMessageBox::information(this, tr("About..."), text.replace("-", "−"), tr("Close")); + forever + { + int ret = QMessageBox::information(this, tr("About..."), text.replace("-", "−"), tr("Abou x264"), tr("About Qt"), tr("Close")); + + switch(ret) + { + case 0: + { + QString text2; + text2 += tr("x264, the best H.264/AVC encoder. Copyright (c) 2003-2011 x264 project.
"); + text2 += tr("Free software library for encoding video streams into the H.264/MPEG-4 AVC format.
"); + text2 += tr("Released under the terms of the GNU General Public License.

"); + text2 += tr("Please visit http://x264licensing.com/ for obtaining a commercial x264 license!
"); + QMessageBox::information(this, tr("About x264"), text2.replace("-", "−"), tr("Close")); + } + break; + case 1: + QMessageBox::aboutQt(this); + break; + default: + return; + } + } } void MainWindow::showWebLink(void)