summaryrefslogtreecommitdiffstats
path: root/krandr/randr.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'krandr/randr.cpp')
-rw-r--r--krandr/randr.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/krandr/randr.cpp b/krandr/randr.cpp
index bd57fdc9f..85f360f52 100644
--- a/krandr/randr.cpp
+++ b/krandr/randr.cpp
@@ -691,7 +691,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);
}
@@ -719,7 +719,7 @@ int RandRDisplay::numScreens() const
RandRScreen* RandRDisplay::screen(int index)
{
- return m_screens.at(index);
+ return m_screens.tqat(index);
}
RandRScreen* RandRDisplay::currentScreen()