diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-10-18 22:09:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-10-19 15:12:22 +0300 |
commit | 78c28d368c383ef3705f9128b0ed0a5b36996da4 (patch) | |
tree | ee94ec79ad473642286a93e8ed27ae69b2558814 /src/gui/widgets/tabs | |
parent | 831da0e80df24731903673eece19b8124b6bde1e (diff) | |
download | mv-78c28d368c383ef3705f9128b0ed0a5b36996da4.tar.gz mv-78c28d368c383ef3705f9128b0ed0a5b36996da4.tar.bz2 mv-78c28d368c383ef3705f9128b0ed0a5b36996da4.tar.xz mv-78c28d368c383ef3705f9128b0ed0a5b36996da4.zip |
improve pointers using in setup_video.
Diffstat (limited to 'src/gui/widgets/tabs')
-rw-r--r-- | src/gui/widgets/tabs/setup_video.cpp | 2 |
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 } |