summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-10-18 22:09:26 +0300
committerAndrei Karas <akaras@inbox.ru>2013-10-19 15:12:22 +0300
commit78c28d368c383ef3705f9128b0ed0a5b36996da4 (patch)
treeee94ec79ad473642286a93e8ed27ae69b2558814 /src
parent831da0e80df24731903673eece19b8124b6bde1e (diff)
downloadmanaverse-78c28d368c383ef3705f9128b0ed0a5b36996da4.tar.gz
manaverse-78c28d368c383ef3705f9128b0ed0a5b36996da4.tar.bz2
manaverse-78c28d368c383ef3705f9128b0ed0a5b36996da4.tar.xz
manaverse-78c28d368c383ef3705f9128b0ed0a5b36996da4.zip
improve pointers using in setup_video.
Diffstat (limited to 'src')
-rw-r--r--src/gui/widgets/tabs/setup_video.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/setup_video.cpp b/src/gui/widgets/tabs/setup_video.cpp
index 647274125..884416be1 100644
--- a/src/gui/widgets/tabs/setup_video.cpp
+++ b/src/gui/widgets/tabs/setup_video.cpp
@@ -125,7 +125,7 @@ ModeListModel::ModeListModel() :
addCustomMode(toString(mainGraphics->mWidth).append("x")
.append(toString(mainGraphics->mHeight)));
- std::sort(mVideoModes.begin(), mVideoModes.end(), modeSorter);
+ std::sort(mVideoModes.begin(), mVideoModes.end(), &modeSorter);
mVideoModes.push_back("custom");
#endif
}