summaryrefslogtreecommitdiffstats
path: root/krandr
diff options
context:
space:
mode:
Diffstat (limited to 'krandr')
-rw-r--r--krandr/randr.cpp4
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()