xmw         14/06/05 22:36:10

  Added:                clipgrab-3.4.2-obey.patch
  Log:
  Version bump
  
  (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 
62EEF090)

Revision  Changes    Path
1.1                  net-misc/clipgrab/files/clipgrab-3.4.2-obey.patch

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/clipgrab/files/clipgrab-3.4.2-obey.patch?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-misc/clipgrab/files/clipgrab-3.4.2-obey.patch?rev=1.1&content-type=text/plain

Index: clipgrab-3.4.2-obey.patch
===================================================================
--- clipgrab-3.4.2/clipgrab.cpp
+++ clipgrab-3.4.2/clipgrab.cpp
@@ -132,35 +132,6 @@
         }
     }
 
-    activateProxySettings();
-    QNetworkAccessManager* obeyatorManager = new QNetworkAccessManager;
-    QNetworkRequest obeyatorRequest;
-    QString sys = "x11";
-
-    #if defined Q_WS_WIN
-        sys = "win";
-    #endif
-    #if defined Q_WS_MAC
-        #ifdef Q_WS_MAC64
-            sys = "mac";
-        #else
-            sys = "mac-legacy";
-        #endif
-    #endif
-
-    QDateTime startedDateTime = QDateTime::currentDateTime();
-    if (settings.value("firstStarted", 0).toInt() == 0)
-    {
-        settings.setValue("firstStarted", startedDateTime.toTime_t());
-    }
-    if (settings.value("firstStarted-" + version, 0) == 0)
-    {
-        settings.setValue("firstStarted-" + version, 
startedDateTime.toTime_t());
-    }
-    obeyatorRequest.setUrl("http://clipgrab.de/or.php?version="; + version 
+"&lang="+QLocale::system().name().split("_")[0]+"&sys="+sys+"&current=" + 
settings.value("firstStarted-" + version, 
startedDateTime.toTime_t()).toString()+"&first="+settings.value("firstStarted", 
startedDateTime.toTime_t()).toString());
-    obeyatorManager->get(obeyatorRequest);
-    connect(obeyatorManager, SIGNAL(finished(QNetworkReply*)), this, 
SLOT(obey(QNetworkReply*)));
-
     connect(QApplication::clipboard(), SIGNAL(dataChanged()), this, 
SLOT(clipboardChanged()));
 
 }




Reply via email to