Skip to content
Commit 77fde8f2 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Replace obsolete QSignalMapper and qSort with non-obsolete code

Summary:
qSort and QSignalMapper are deprecated and spoil the compilation messages with warnings:

https://build.kde.org/job/Applications/job/ktouch/job/kf5-qt5%20FreeBSDQt5.13/10/warnings12Result/

This patch tries to get rid of these warnings.

Test Plan:
1. Compile (there should be no warnings with Qt 5.13).
2. Run KTouch, open the course and layout editor and create a course. The new item should be correctly added to the lists in the Editor and the main KTouch window. Delete the course.
3. Add a layout. Add a key. Resize the key. KTouch should behave as expected. Remove the layout.

Reviewers: #kde_edu, gottfried

Reviewed By: gottfried

Subscribers: kde-edu

Tags: #kde_edu

Differential Revision: https://phabricator.kde.org/D22910
parent a10031aa
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment