From cc0ad49c75d6cf6b4e63eb8c6012afe55c1589f9 Mon Sep 17 00:00:00 2001 From: tpearson Date: Tue, 15 Feb 2011 19:15:16 +0000 Subject: Allow kdebase to (mostly) function correctly with TQt for Qt4 Fix kicker tackbar handling under Classic mode (thanks to Ilya Chernykh for the patch) Fix a newly invalidated section of code under GCC 4.5.2 (http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47723#c6) git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebase@1220927 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- kcontrol/usbview/usbdevices.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kcontrol/usbview') diff --git a/kcontrol/usbview/usbdevices.cpp b/kcontrol/usbview/usbdevices.cpp index 63a049742..74fcf3609 100644 --- a/kcontrol/usbview/usbdevices.cpp +++ b/kcontrol/usbview/usbdevices.cpp @@ -226,9 +226,9 @@ TQString USBDevice::dump() r += i18n("Power Consumption%1 mA").arg(_power); else r += i18n("Power Consumptionself powered"); - r += i18n("Attached Devicenodes%1").arg(*_devnodes.at(0)); + r += i18n("Attached Devicenodes%1").arg(*_devnodes.tqat(0)); if ( _devnodes.count() > 1 ) - for ( TQStringList::Iterator it = _devnodes.at(1); it != _devnodes.end(); ++it ) + for ( TQStringList::Iterator it = _devnodes.tqat(1); it != _devnodes.end(); ++it ) r += "" + *it + ""; #else r += i18n("Max. Packet Size%1").arg(_maxPacketSize); -- cgit v1.2.1