1 /*---------------------------------------------------------------------\
3 | __ __ ____ _____ ____ |
4 | \ \ / /_ _/ ___|_ _|___ \ |
5 | \ V / _` \___ \ | | __) | |
6 | | | (_| |___) || | / __/ |
7 | |_|\__,_|____/ |_| |_____| |
11 \----------------------------------------------------------------------/
13 File: YUIQt_widgets.cc
15 Author: Stefan Hundhammer <sh@suse.de>
20 #define y2log_component "qt-ui"
21 #include <ycp/y2log.h>
22 #include <QtGui/qdesktopwidget.h>
27 #include "YQPackageSelectorPlugin.h"
31 YQPackageSelectorPlugin * YQUI::packageSelectorPlugin()
33 static YQPackageSelectorPlugin * plugin = 0;
37 plugin = new YQPackageSelectorPlugin();
39 // This is a deliberate memory leak: If an application requires a
40 // PackageSelector, it is a package selection application by
41 // definition. In this case, the qt_pkg plugin is intentionally kept
42 // open to avoid repeated start-up cost of the plugin and libzypp.