public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/kde:master commit in: kde-misc/plasma-emergelog/files/
@ 2014-12-26 11:28 Michael Palimaka
  0 siblings, 0 replies; only message in thread
From: Michael Palimaka @ 2014-12-26 11:28 UTC (permalink / raw
  To: gentoo-commits

commit:     d34159bdec33ca1816d8ad5776b58f6a31546ce6
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 26 11:28:44 2014 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Fri Dec 26 11:28:44 2014 +0000
URL:        http://sources.gentoo.org/gitweb/?p=proj/kde.git;a=commit;h=d34159bd

[kde-misc/plasma-emergelog] Remove unused patch.

Package-Manager: portage-2.2.15

---
 .../files/plasma-emergelog-0.0.2-list.patch         | 21 ---------------------
 1 file changed, 21 deletions(-)

diff --git a/kde-misc/plasma-emergelog/files/plasma-emergelog-0.0.2-list.patch b/kde-misc/plasma-emergelog/files/plasma-emergelog-0.0.2-list.patch
deleted file mode 100644
index 732cde2..0000000
--- a/kde-misc/plasma-emergelog/files/plasma-emergelog-0.0.2-list.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-diff --git plasma-emergelog.cpp plasma-emergelog.cpp
-index 362eaa3..f3e8ea8 100644
---- old/plasma-emergelog-0.0.2/plasma-emergelog.cpp
-+++ new/plasma-emergelog-0.0.2/plasma-emergelog.cpp
-@@ -35,6 +35,7 @@
- #include "plasma-emergelog-painter.h"
- #include <exception>
- #include <iostream>
-+#include <cmath>
- 
- 
- class myexception: public std::exception
-@@ -167,7 +168,7 @@ void emergelog::process_data(){
- 		/* Create a list . Each element is a line from that file */
- 		list = data.split('\n', QString::SkipEmptyParts);
- 		/* read the block BACKWARDS */
--		for (int i=list.size()-1;i>(list.size()-(document->maximumBlockCount()));i--){
-+		for (int i=list.size()-1;i>std::max<int>(0, list.size()-(document->maximumBlockCount()));i--){
- 			if(cursor.position() != 0){
- 				cursor.insertBlock();
- 			}


^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2014-12-26 11:28 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-12-26 11:28 [gentoo-commits] proj/kde:master commit in: kde-misc/plasma-emergelog/files/ Michael Palimaka

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox