summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorKuba Serafinowski2012-04-07 14:02:58 +0200
committerKuba Serafinowski2012-04-07 14:02:58 +0200
commit205dd6dd920950a68a46d6520268dd63a15d264b (patch)
tree9385aa9ce671f901a9d9938f91feeff607761fc9
parente9e2b60df4ee4d262499102d8f498d0d224efaf4 (diff)
downloadaur-205dd6dd920950a68a46d6520268dd63a15d264b.tar.gz
remove old patch
-rw-r--r--0001-Use-new-QTweetLib-0.5-API-for-PIN-values-so-leading-.patch52
1 files changed, 0 insertions, 52 deletions
diff --git a/0001-Use-new-QTweetLib-0.5-API-for-PIN-values-so-leading-.patch b/0001-Use-new-QTweetLib-0.5-API-for-PIN-values-so-leading-.patch
deleted file mode 100644
index 3ef4bd207921..000000000000
--- a/0001-Use-new-QTweetLib-0.5-API-for-PIN-values-so-leading-.patch
+++ /dev/null
@@ -1,52 +0,0 @@
-From c6cd6821bfe1e2c2a8de10f1ca3ea30940dbf27c Mon Sep 17 00:00:00 2001
-From: Jeff Mitchell <tomahawk@jefferai.org>
-Date: Fri, 9 Mar 2012 18:23:48 -0500
-Subject: [PATCH] Use new QTweetLib 0.5 API for PIN values so leading zeros
- are respected
-
----
- src/accounts/twitter/tomahawkoauthtwitter.cpp | 10 +++++-----
- src/accounts/twitter/tomahawkoauthtwitter.h | 2 +-
- 2 files changed, 6 insertions(+), 6 deletions(-)
-
-diff --git a/src/accounts/twitter/tomahawkoauthtwitter.cpp b/src/accounts/twitter/tomahawkoauthtwitter.cpp
-index b9b7e65..7cf2a64 100644
---- a/src/accounts/twitter/tomahawkoauthtwitter.cpp
-+++ b/src/accounts/twitter/tomahawkoauthtwitter.cpp
-@@ -12,15 +12,15 @@ TomahawkOAuthTwitter::TomahawkOAuthTwitter( QNetworkAccessManager *nam, QObject*
- }
-
-
--int
-+const QString
- TomahawkOAuthTwitter::authorizationWidget()
- {
- bool ok;
-- int i = QInputDialog::getInt(0, tr( "Twitter PIN" ), tr( "After authenticating on Twitter's web site,\nenter the displayed PIN number here:" ), 0, 0, 2147483647, 1, &ok);
-- if (ok)
-- return i;
-+ const QString str = QInputDialog::getText(0, tr( "Twitter PIN" ), tr( "After authenticating on Twitter's web site,\nenter the displayed PIN number here:" ), QLineEdit::Normal, QString(), &ok);
-+ if ( ok && !str.isEmpty() )
-+ return str;
-
-- return 0;
-+ return QString();
- }
-
- void
-diff --git a/src/accounts/twitter/tomahawkoauthtwitter.h b/src/accounts/twitter/tomahawkoauthtwitter.h
-index 7cd243e..ad04830 100644
---- a/src/accounts/twitter/tomahawkoauthtwitter.h
-+++ b/src/accounts/twitter/tomahawkoauthtwitter.h
-@@ -17,7 +17,7 @@ public:
- ~TomahawkOAuthTwitter() {}
-
- protected:
-- virtual int authorizationWidget();
-+ virtual const QString authorizationWidget();
-
- private slots:
- void error();
---
-1.7.9.3
-