提交 76a136c4 编写于 作者: M Michal Marek

xconfig: Change the titlebar if using Qt3

Qt4 is now used by default and will get more testing. In case someone
still uses Qt3 and reports a bug, make it easy to recognize that this is
Qt3.
Acked-by: NAlexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Signed-off-by: NMichal Marek <mmarek@suse.cz>
上级 133c5f7c
......@@ -1274,8 +1274,14 @@ ConfigMainWindow::ConfigMainWindow(void)
char title[256];
QDesktopWidget *d = configApp->desktop();
snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration"),
getenv("KERNELVERSION"));
snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration%s"),
getenv("KERNELVERSION"),
#if QT_VERSION < 0x040000
" (Qt3)"
#else
""
#endif
);
setCaption(title);
width = configSettings->readNumEntry("/window width", d->width() - 64);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册