Commit f463269f authored by Masahiro Yamada's avatar Masahiro Yamada

kconfig: qconf: show Qt version in the About dialog

You can get the Qt version by running "pkg-config --modversion Qt5Core"
or something, but this might be useful to get the runtime Qt version
more easily. Go to the menu "Help" -> "About", then you can see it.
Signed-off-by: default avatarMasahiro Yamada <masahiroy@kernel.org>
parent 98ebea7b
......@@ -1799,10 +1799,13 @@ void ConfigMainWindow::showIntro(void)
void ConfigMainWindow::showAbout(void)
{
static const QString str = "qconf is Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>.\n"
"Copyright (C) 2015 Boris Barbulovski <bbarbulovski@gmail.com>.\n\n"
"Bug reports and feature request can also be entered at http://bugzilla.kernel.org/\n";
"Copyright (C) 2015 Boris Barbulovski <bbarbulovski@gmail.com>.\n"
"\n"
"Bug reports and feature request can also be entered at http://bugzilla.kernel.org/\n"
"\n"
"Qt Version: ";
QMessageBox::information(this, "qconf", str);
QMessageBox::information(this, "qconf", str + qVersion());
}
void ConfigMainWindow::saveSettings(void)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment