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

List:       kde-commits
Subject:    [plasmate/terietor/remoteinstallerV2] publisher: Remove the unnecessary line
From:       Giorgos Tsiapaliwkas <terietor () gmail ! com>
Date:       2012-07-11 18:30:24
Message-ID: 20120711183024.A147BA6094 () git ! kde ! org
[Download RAW message or body]

Git commit d2b77b19898e091f5b051af72c2791b1476fbbce by Giorgos Tsiapaliwkas.
Committed on 11/07/2012 at 20:29.
Pushed by tsiapaliwkas into branch 'terietor/remoteinstallerV2'.

Remove the unnecessary line

M  +0    -2    publisher/publisher.cpp
M  +2    -0    publisher/publisher.h

http://commits.kde.org/plasmate/d2b77b19898e091f5b051af72c2791b1476fbbce

diff --git a/publisher/publisher.cpp b/publisher/publisher.cpp
index e08c3fb..e907d91 100644
--- a/publisher/publisher.cpp
+++ b/publisher/publisher.cpp
@@ -342,9 +342,7 @@ void Publisher::doRemoteInstall()
     QScopedPointer<RemoteInstallerDialog> dialog(new RemoteInstallerDialog());
 
     //get the source directory from plasmaterc
-    KConfigGroup c(KGlobal::config(), "PackageModel::package");
     QString path = currentPackagePath();
-
     dialog->setPackagePath(path);
 
     dialog->exec();
diff --git a/publisher/publisher.h b/publisher/publisher.h
index c0ff6fb..b9b26ba 100644
--- a/publisher/publisher.h
+++ b/publisher/publisher.h
@@ -41,6 +41,8 @@ private:
     bool cmakeProcessStatus(QProcess::ProcessError error);
     bool exportToFile(const KUrl& url);
     const QString tempPackagePath();
+
+    //avoid duplication
     QString currentPackagePath() const;
 
     SigningWidget* m_signingWidget;

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

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