mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00
kwin: compiler warning fix
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
fc96f88886
commit
3598df111b
1 changed files with 15 additions and 18 deletions
|
@ -41,25 +41,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include "thumbnailitem.h"
|
||||
#include "virtualdesktops.h"
|
||||
#include "workspace.h"
|
||||
|
||||
#include <QFile>
|
||||
#include <QDBusServiceWatcher>
|
||||
#include <QtDBus/qdbuspendingcall.h>
|
||||
#include <QLibrary>
|
||||
|
||||
#include <KDebug>
|
||||
#include <KDesktopFile>
|
||||
#include <KConfigGroup>
|
||||
#include <KGlobal>
|
||||
#include <KStandardDirs>
|
||||
#include <KService>
|
||||
#include <KServiceTypeTrader>
|
||||
#include <KPluginInfo>
|
||||
|
||||
#include <assert.h>
|
||||
#include "composite.h"
|
||||
#include "xcbutils.h"
|
||||
|
||||
// dbus generated
|
||||
#include "screenlocker_interface.h"
|
||||
|
||||
|
@ -85,6 +68,21 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|||
#include "effects/zoom/zoom.h"
|
||||
#include "effects/startupfeedback/startupfeedback.h"
|
||||
|
||||
#include <QFile>
|
||||
#include <QDBusServiceWatcher>
|
||||
#include <QtDBus/qdbuspendingcall.h>
|
||||
|
||||
#include <KDebug>
|
||||
#include <KDesktopFile>
|
||||
#include <KConfigGroup>
|
||||
#include <KGlobal>
|
||||
#include <KStandardDirs>
|
||||
#include <KService>
|
||||
#include <KServiceTypeTrader>
|
||||
#include <KPluginInfo>
|
||||
|
||||
#include <assert.h>
|
||||
|
||||
namespace KWin
|
||||
{
|
||||
|
||||
|
@ -1306,7 +1304,6 @@ bool EffectsHandlerImpl::loadEffect(const QString& name, bool checkDefault)
|
|||
KService::Ptr service = offers.first();
|
||||
|
||||
Effect* effect = 0;
|
||||
QLibrary* library = 0;
|
||||
// builtins first
|
||||
if (internalname == "kwin4_effect_presentwindows") {
|
||||
effect = new PresentWindowsEffect();
|
||||
|
|
Loading…
Add table
Reference in a new issue