[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kwin/scripting2] scripting: asfaf
From:       David Edmundson <null () kde ! org>
Date:       2018-07-31 21:37:19
Message-ID: E1fkcKV-0001yG-3s () code ! kde ! org
[Download RAW message or body]

Git commit 240bc02aa40709d64bdb845edc1a3e4339b7f135 by David Edmundson.
Committed on 31/07/2018 at 21:04.
Pushed by davidedmundson into branch 'scripting2'.

asfaf

M  +0    -3    scripting/scriptedeffect.cpp
M  +1    -0    scripting/scriptedeffect.h

https://commits.kde.org/kwin/240bc02aa40709d64bdb845edc1a3e4339b7f135

diff --git a/scripting/scriptedeffect.cpp b/scripting/scriptedeffect.cpp
index c6db01203..6e0803f14 100644
--- a/scripting/scriptedeffect.cpp
+++ b/scripting/scriptedeffect.cpp
@@ -33,9 +33,7 @@ along with this program.  If not, see <http://www.gnu.org/licenses/>.
 // Qt
 #include <QFile>
 #include <QQmlEngine>
-#include <QJSValueIterator>
 #include <QStandardPaths>
-//#include <QGridLayout>
 
 typedef KWin::EffectWindow* KEffectWindowRef;
 
@@ -404,7 +402,6 @@ QJSValue ScriptedEffect::startAnimation(const QJSValue &object, bool settingPers
         return createError(QStringLiteral("No animations provided"));
     }
 
-
     QJSValue array = m_engine->newArray(settings.length());
     for (int i = 0 ; i < settings.count() ; i++) {
         const AnimationSettings &setting = settings[i];
diff --git a/scripting/scriptedeffect.h b/scripting/scriptedeffect.h
index 1a98f502f..7bfc869b7 100644
--- a/scripting/scriptedeffect.h
+++ b/scripting/scriptedeffect.h
@@ -3,6 +3,7 @@
  This file is part of the KDE project.
 
  Copyright (C) 2012 Martin Gräßlin <mgraesslin@kde.org>
+ Copyright (C) 2018 David Edmundson <davidedmundson@kde.org>
 
 This program is free software; you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic