[106037] trunk/dports/finance/abtransfers

mk at macports.org mk at macports.org
Mon May 13 15:28:23 PDT 2013


Revision: 106037
          https://trac.macports.org/changeset/106037
Author:   mk at macports.org
Date:     2013-05-13 15:28:23 -0700 (Mon, 13 May 2013)
Log Message:
-----------
abtransfers: fix missing icons

Modified Paths:
--------------
    trunk/dports/finance/abtransfers/Portfile

Added Paths:
-----------
    trunk/dports/finance/abtransfers/files/patch-mainwindow.cpp.diff

Modified: trunk/dports/finance/abtransfers/Portfile
===================================================================
--- trunk/dports/finance/abtransfers/Portfile	2013-05-13 21:46:16 UTC (rev 106036)
+++ trunk/dports/finance/abtransfers/Portfile	2013-05-13 22:28:23 UTC (rev 106037)
@@ -7,7 +7,7 @@
 
 name                abtransfers
 version             0.0.4.0
-revision            1
+revision            2
 
 categories          finance
 maintainers         mk openmaintainer
@@ -48,5 +48,6 @@
 
 depends_lib-append  port:aqbanking5
 
-patchfiles          patch-main.cpp.diff
+patchfiles          patch-main.cpp.diff \
+                    patch-mainwindow.cpp.diff
 

Added: trunk/dports/finance/abtransfers/files/patch-mainwindow.cpp.diff
===================================================================
--- trunk/dports/finance/abtransfers/files/patch-mainwindow.cpp.diff	                        (rev 0)
+++ trunk/dports/finance/abtransfers/files/patch-mainwindow.cpp.diff	2013-05-13 22:28:23 UTC (rev 106037)
@@ -0,0 +1,13 @@
+--- src/mainwindow.cpp.old	2013-05-14 00:09:05.000000000 +0200
++++ src/mainwindow.cpp	2013-05-14 00:09:56.000000000 +0200
+@@ -1130,8 +1130,8 @@
+ 	gl->setRowMinimumHeight(1, 12); //one row as seperator
+ 
+ 	//prepare used icons
+-	QIcon *icoSup = new QIcon(QIcon::fromTheme("dialog-ok-apply"));
+-	QIcon *icoNotSup = new QIcon(QIcon::fromTheme("edit-delete"));
++	QIcon *icoSup = new QIcon(QIcon::fromTheme("dialog-ok-apply", QIcon(":/icons/ok")));
++	QIcon *icoNotSup = new QIcon(QIcon::fromTheme("edit-delete", QIcon(":/icons/delete")));
+ 	const QPixmap pixSup = icoSup->pixmap(16, QIcon::Normal); //supported
+ 	const QPixmap pixNotSup = icoNotSup->pixmap(16, QIcon::Normal); //not supported
+ 	const QPixmap pixLatSup = icoSup->pixmap(16, QIcon::Disabled); //later supported
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130513/7ec3f644/attachment.html>


More information about the macports-changes mailing list