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 --- krandr/randr.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'krandr') diff --git a/krandr/randr.cpp b/krandr/randr.cpp index e891c8a2d..5987d8808 100644 --- a/krandr/randr.cpp +++ b/krandr/randr.cpp @@ -627,7 +627,7 @@ const TQString& RandRDisplay::version() const void RandRDisplay::setCurrentScreen(int index) { m_currentScreenIndex = index; - m_currentScreen = m_screens.at(m_currentScreenIndex); + m_currentScreen = m_screens.tqat(m_currentScreenIndex); Q_ASSERT(m_currentScreen); } @@ -655,7 +655,7 @@ int RandRDisplay::numScreens() const RandRScreen* RandRDisplay::screen(int index) { - return m_screens.at(index); + return m_screens.tqat(index); } RandRScreen* RandRDisplay::currentScreen() -- cgit v1.2.1