[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-commits
Subject: KDE/kdebase/workspace/powerdevil
From: Dawit Alemayehu <adawit () kde ! org>
Date: 2010-10-30 0:58:50
Message-ID: 20101030005850.39469AC899 () svn ! kde ! org
[Download RAW message or body]
SVN commit 1191212 by adawit:
Q_UNUSED for unused arguments and init pointer to shut compiler up
M +2 -0 daemon/actions/bundled/disabledesktopeffects.cpp
M +1 -1 daemon/powerdevilbackendinterface.cpp
M +3 -3 kcmodule/profiles/actionconfigwidget.cpp
--- trunk/KDE/kdebase/workspace/powerdevil/daemon/actions/bundled/disabledesktopeffects.cpp #1191211:1191212
@@ -56,6 +56,8 @@
void DisableDesktopEffects::onIdleTimeout(int msec)
{
+ Q_UNUSED(msec)
+
QVariantMap args;
args["Enable"] = QVariant::fromValue(false);
trigger(args);
--- trunk/KDE/kdebase/workspace/powerdevil/daemon/powerdevilbackendinterface.cpp #1191211:1191212
@@ -94,7 +94,7 @@
void BackendInterface::setBackendHasError(const QString& errorDetails)
{
-
+ Q_UNUSED(errorDetails)
}
void BackendInterface::setBackendIsReady(BrightnessControlsList availableBrightnessControls,
--- trunk/KDE/kdebase/workspace/powerdevil/kcmodule/profiles/actionconfigwidget.cpp #1191211:1191212
@@ -19,12 +19,12 @@
#include "actionconfigwidget.h"
-#include <QCheckBox>
+#include <QtGui/QCheckBox>
#include <QtGui/QLabel>
#include <QtGui/QMenu>
#include <QtGui/QMenuBar>
#include <QtGui/QAction>
-#include <QtGui/qlayoutitem.h>
+#include <QtGui/QLayoutItem>
ActionConfigWidget::ActionConfigWidget(QWidget* parent) : QWidget(parent)
{
@@ -46,7 +46,7 @@
int row = m_gridLayout->rowCount();
row++;
- QCheckBox* currentSectionCheckbox;
+ QCheckBox* currentSectionCheckbox = 0;
/*
//Clean the values
QList<QString>::const_iterator it;
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic