From 374d939d8af431477ce2601815f0ba121b66871c Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 15 Feb 2011 19:11:41 +0000 Subject: Allow kdelibs to function correctly with TQt for Qt4 git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdelibs@1220926 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kate/part/kateprinter.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kate/part/kateprinter.cpp') diff --git a/kate/part/kateprinter.cpp b/kate/part/kateprinter.cpp index f9dfb8abe..05f360497 100644 --- a/kate/part/kateprinter.cpp +++ b/kate/part/kateprinter.cpp @@ -505,7 +505,7 @@ bool KatePrinter::print (KateDocument *doc) // use color of dsNormal for the title string and the hline KateAttributeList _dsList; KateHlManager::self()->getDefaults ( renderer.config()->schema(), _dsList ); - paint.setPen( _dsList.at(0)->textColor() ); + paint.setPen( _dsList.tqat(0)->textColor() ); int _marg = 0; // this could be available globally!?? if ( useBox ) { -- cgit v1.2.1