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

List:       kde-commits
Subject:    [kipi-plugins/frameworks] googleservices: #1316805 coverity scan fix
From:       Shourya Singh Gupta <shouryasgupta () gmail ! com>
Date:       2015-08-23 6:10:58
Message-ID: E1ZTOUc-0003Lh-0u () scm ! kde ! org
[Download RAW message or body]

Git commit b3d899333baf6666100aa8b939f82b542fc028aa by Shourya Singh Gupta.
Committed on 23/08/2015 at 06:10.
Pushed by shouryasinghgupta into branch 'frameworks'.

#1316805 coverity scan fix

M  +1    -4    googleservices/gswindow.cpp

http://commits.kde.org/kipi-plugins/b3d899333baf6666100aa8b939f82b542fc028aa

diff --git a/googleservices/gswindow.cpp b/googleservices/gswindow.cpp
index 7492d04..865196a 100644
--- a/googleservices/gswindow.cpp
+++ b/googleservices/gswindow.cpp
@@ -99,10 +99,7 @@ GSWindow::GSWindow(const QString& tmpFolder,QWidget* const /*parent*/, const QSt
     m_imagesTotal = 0;
     m_renamingOpt = 0;
 
-    if(QString::compare(m_serviceName, QString("googledriveexport"), Qt::CaseInsensitive) == 0)
-        m_widget      = new GoogleServicesWidget(this, iface(), m_pluginName, m_serviceName);
-    else
-        m_widget      = new GoogleServicesWidget(this, iface(), m_pluginName, m_serviceName);
+    m_widget = new GoogleServicesWidget(this, iface(), m_pluginName, m_serviceName);
     
     setMainWidget(m_widget);
     setButtons(Help | User1 | Close);

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

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