Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Kernel v2.6.24 /scripts/kconfig/qconf.cc

Filename:/scripts/kconfig/qconf.cc
Lines Added:4
Lines Deleted:0
Also changed in: (Previous) 2.6.24-rc8  2.6.24-rc7  2.6.24-rc6  2.6.24-rc5  2.6.24-rc4  2.6.24-rc3 
(Following) 2.6.24-git6  2.6.24-git7  2.6.24-git8  2.6.24-git9  2.6.24-git10  2.6.24-git11 

Location
[  2.6.24
  [  scripts
    [  kconfig
       o  qconf.cc

Patch

diff --git a/scripts/kconfig/qconf.cc b/scripts/kconfig/qconf.cc
index e4eeb59..b9bb32d 100644
--- a/scripts/kconfig/qconf.cc
+++ b/scripts/kconfig/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);


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.