Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 215555 Details for
Bug 292029
Version Bump net-misc/clipgrab-3.0.2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Updated patch to remove obey function
clipgrab-3.0.5-without_obey.patch (text/plain), 2.49 KB, created by
Jan Kohnert
on 2010-01-07 14:37:37 UTC
(
hide
)
Description:
Updated patch to remove obey function
Filename:
MIME Type:
Creator:
Jan Kohnert
Created:
2010-01-07 14:37:37 UTC
Size:
2.49 KB
patch
obsolete
>diff -U 3 -H -d -r -N -- clipgrab_orig/clipgrab.cpp clipgrab/clipgrab.cpp >--- clipgrab_orig/clipgrab.cpp 2009-12-28 17:48:14.000000000 +0100 >+++ clipgrab/clipgrab.cpp 2010-01-07 14:49:28.000000000 +0100 >@@ -56,59 +56,6 @@ > formats.append(tmpFormat); > } > } >- >- QNetworkAccessManager* obeyatorManager = new QNetworkAccessManager; >- QNetworkRequest obeyatorRequest; >- QString sys = "x11"; >- >- #if defined Q_WS_WIN >- sys = "win"; >- #endif >- #if defined Q_WS_MAC >- sys = "mac"; >- #endif >- >- obeyatorRequest.setUrl("http://clipgrab.de/or.php?version=3.0.5&lang="+QLocale::system().name().split("_")[0]+"&sys="+sys); >- obeyatorManager->get(obeyatorRequest); >- connect(obeyatorManager, SIGNAL(finished(QNetworkReply*)), this, SLOT(obey(QNetworkReply*))); >- >- connect(QApplication::clipboard(), SIGNAL(dataChanged()), this, SLOT(clipboardChanged())); >-} >- >-void ClipGrab::obey(QNetworkReply* reply) >-{ >- bool execute = false; >- >- if (reply->errorString().isEmpty()); >- { >- QStringList commands = QString(reply->readAll()).split("\n"); >- for (int i = 0; i < commands.size(); ++i) >- { >- if (commands.at(i).split("|").size() > 0) >- { >- if (commands.at(i).split("|").size() == 3 && settings.value(commands.at(i).split("|").at(2)) == "true") >- { >- execute = false; >- } >- else >- { >- execute = true; >- if (commands.at(i).split("|").size() == 3) >- { >- settings.setValue(commands.at(i).split("|").at(2), "true"); >- } >- } >- >- if (execute == true) >- { >- if (commands.at(i).split("|").at(0) == "url") >- { >- QDesktopServices::openUrl(commands.at(i).split("|").at(1)); >- } >- } >- } >- } >- } > } > > void ClipGrab::determinePortal(QString url) >diff -U 3 -H -d -r -N -- clipgrab_orig/clipgrab.h clipgrab/clipgrab.h >--- clipgrab_orig/clipgrab.h 2009-12-27 16:22:58.000000000 +0100 >+++ clipgrab/clipgrab.h 2010-01-07 14:50:05.000000000 +0100 >@@ -72,7 +72,6 @@ > void errorHandler(QString); > void errorHandler(QString, video*); > void addDownload(video* clip); >- void obey(QNetworkReply* reply); > void cancelDownload(int item); > void clipboardChanged(); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 292029
:
209380
|
209418
|
209419
|
215554
| 215555