--- 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+"¤t=" + 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())); }