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