From 78c28d368c383ef3705f9128b0ed0a5b36996da4 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 18 Oct 2013 22:09:26 +0300 Subject: improve pointers using in setup_video. --- src/gui/widgets/tabs/setup_video.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/widgets/tabs') 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 } -- cgit v1.2.3-70-g09d2