aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/kconfig/qconf.cc
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/kconfig/qconf.cc')
-rw-r--r--scripts/kconfig/qconf.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index e4eeb59a8c24..b9bb32dfd628 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/qconf.cc
@@ -1274,8 +1274,12 @@ ConfigMainWindow::ConfigMainWindow(void)
1274 QMenuBar* menu; 1274 QMenuBar* menu;
1275 bool ok; 1275 bool ok;
1276 int x, y, width, height; 1276 int x, y, width, height;
1277 char title[256];
1277 1278
1278 QWidget *d = configApp->desktop(); 1279 QWidget *d = configApp->desktop();
1280 snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration"),
1281 getenv("KERNELVERSION"));
1282 setCaption(title);
1279 1283
1280 width = configSettings->readNumEntry("/window width", d->width() - 64); 1284 width = configSettings->readNumEntry("/window width", d->width() - 64);
1281 height = configSettings->readNumEntry("/window height", d->height() - 64); 1285 height = configSettings->readNumEntry("/window height", d->height() - 64);