From: Markus Heidelberg Date: Sun, 17 May 2009 23:36:52 +0000 (+0200) Subject: kconfig qconf: fix the type of the desktop widget X-Git-Tag: v2.6.31-rc1~335^2~25 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8d90c97e46930d01e9394bceb6276c7175136bdc;p=pandora-kernel.git kconfig qconf: fix the type of the desktop widget QApplication::desktop() returns a pointer to QDesktopWidget, not to QWidget. Fixes the following compiler error after a quick conversion with 'qt3to4', which occured with g++ 3.4.6 and 4.1.2, but not anymore with 4.3.2. scripts/kconfig/qconf.cc: In constructor 'ConfigMainWindow::ConfigMainWindow()': scripts/kconfig/qconf.cc:1289: error: cannot convert 'QDesktopWidget*' to 'QWidget*' in initialization Signed-off-by: Markus Heidelberg Signed-off-by: Sam Ravnborg --- Reading git-diff-tree failed