diff options
author | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-15 19:11:41 +0000 |
---|---|---|
committer | tpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da> | 2011-02-15 19:11:41 +0000 |
commit | 374d939d8af431477ce2601815f0ba121b66871c (patch) | |
tree | ad878478dcc0bedf51e3cffb2ed611ada422b290 /krandr | |
parent | f9279733bf71e446933b46f40cbe9c9b9f57b778 (diff) | |
download | tdelibs-374d939d8af431477ce2601815f0ba121b66871c.tar.gz tdelibs-374d939d8af431477ce2601815f0ba121b66871c.zip |
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
Diffstat (limited to 'krandr')
-rw-r--r-- | krandr/randr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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() |