Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a54bb701 authored by Randy Dunlap's avatar Randy Dunlap Committed by Sam Ravnborg
Browse files

kconfig: set title bar in xconfig



Put kernel version info on title bar in xconfig (qconf) instead of
defaulting to "qconf".

Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: default avatarSam Ravnborg <sam@ravnborg.org>
parent 0b463ff1
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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);