--compiler.warningsCount();

--compiler.warningsCount();

svn path=/trunk/KDE/kdebase/workspace/libs/plasma/; revision=765001
This commit is contained in:
Aaron J. Seigo 2008-01-22 23:31:57 +00:00
parent 17ddc75c3a
commit 76747db2d9
2 changed files with 5 additions and 3 deletions

View File

@ -37,7 +37,7 @@ namespace Plasma
class AppletBrowserWidget::Private
{
public:
Private(Corona* co, Containment* cont, AppletBrowserWidget* w)
Private(Containment* cont, AppletBrowserWidget* w)
: containment(cont),
appletList(0),
config("plasmarc"),
@ -125,7 +125,7 @@ void AppletBrowserWidget::Private::updateRunningApplets()
/*
AppletBrowserWidget::AppletBrowserWidget(Plasma::Corona * corona, bool showButtons, QWidget * parent, Qt::WindowFlags f)
: QWidget(parent, f),
d(new Private(corona, 0, this)),
d(new Private(0, this)),
m_showButtons( showButtons )
{
init();
@ -133,7 +133,7 @@ AppletBrowserWidget::AppletBrowserWidget(Plasma::Corona * corona, bool showButto
*/
AppletBrowserWidget::AppletBrowserWidget(Plasma::Containment * containment, bool showButtons, QWidget * parent, Qt::WindowFlags f)
: QWidget(parent, f),
d(new Private(0, containment, this)),
d(new Private(containment, this)),
m_showButtons( showButtons )
{
init();

View File

@ -1012,6 +1012,8 @@ void Icon::mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
void Icon::mouseDoubleClickEvent(QGraphicsSceneMouseEvent *event)
{
Q_UNUSED(event)
emit doubleClicked();
if (!KGlobalSettings::singleClick()) {
emit activated();