summaryrefslogtreecommitdiff
path: root/package/config/qconf.cc
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2008-06-19 08:11:51 +0000
committerPeter Korsgaard <jacmet@sunsite.dk>2008-06-19 08:11:51 +0000
commite2c32ba54b2fcf27a766e9c3cb427180a03ea056 (patch)
treed807979670ce4d6961f08ce8f2f9da1cdb57c5aa /package/config/qconf.cc
parent1b6f2e0f4c8445100f1ea6bea5b89db15dba0175 (diff)
package/config: rebase from upstream (2.6.24.4)
From Bernhards tree (1af211ea)
Diffstat (limited to 'package/config/qconf.cc')
-rw-r--r--package/config/qconf.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/package/config/qconf.cc b/package/config/qconf.cc
index e4eeb59a8..b9bb32dfd 100644
--- a/package/config/qconf.cc
+++ b/package/config/qconf.cc
@@ -1274,8 +1274,12 @@ ConfigMainWindow::ConfigMainWindow(void)
QMenuBar* menu;
bool ok;
int x, y, width, height;
+ char title[256];
QWidget *d = configApp->desktop();
+ snprintf(title, sizeof(title), _("Linux Kernel v%s Configuration"),
+ getenv("KERNELVERSION"));
+ setCaption(title);
width = configSettings->readNumEntry("/window width", d->width() - 64);
height = configSettings->readNumEntry("/window height", d->height() - 64);