mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 20:50:34 +01:00
Replace QSort function has been deprecated
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4898 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
|
||||
#include <QPrintPreviewWidget>
|
||||
#include <QPageSetupDialog>
|
||||
#include <algorithm>
|
||||
|
||||
/**
|
||||
Constructeur
|
||||
@@ -400,7 +401,7 @@ void QETPrintPreviewDialog::updateZoomList() {
|
||||
// ajout du zoom en cours
|
||||
if (current_zoom_is_not_null && (!zooms_real.contains(current_zoom))) {
|
||||
zooms_real << current_zoom;
|
||||
qSort(zooms_real.begin(), zooms_real.end());
|
||||
std::sort(zooms_real.begin(), zooms_real.end());
|
||||
}
|
||||
|
||||
// remplissage de la liste deroulante
|
||||
|
||||
Reference in New Issue
Block a user