diff options
author | Markus Heidelberg <markus.heidelberg@web.de> | 2009-05-18 03:36:52 +0400 |
---|---|---|
committer | Sam Ravnborg <sam@ravnborg.org> | 2009-06-10 00:37:50 +0400 |
commit | 8d90c97e46930d01e9394bceb6276c7175136bdc (patch) | |
tree | 21046d46070559b34c81d8ad07f29604d1bc8a46 /init/do_mounts.c | |
parent | fbb86374445d97072dd994f1a4adf023bfd1e86e (diff) | |
download | linux-8d90c97e46930d01e9394bceb6276c7175136bdc.tar.xz |
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 <markus.heidelberg@web.de>
Signed-off-by: Sam Ravnborg <sam@ravnborg.org>
Diffstat (limited to 'init/do_mounts.c')
0 files changed, 0 insertions, 0 deletions