diff options
author | Arno <arno@disconnect.de> | 2024-08-31 12:11:40 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2024-08-31 12:11:40 +0200 |
commit | 714bca79318b828c3ca8af1c9a4e7a65ad5fa578 (patch) | |
tree | 172405f8018b0557af7f733d04742c816523f4e5 /smglobals.cpp | |
parent | 66606fd5cc6bd3d377cc35d9ce2e267b694410fc (diff) | |
download | SheMov-714bca79318b828c3ca8af1c9a4e7a65ad5fa578.tar.gz SheMov-714bca79318b828c3ca8af1c9a4e7a65ad5fa578.tar.bz2 SheMov-714bca79318b828c3ca8af1c9a4e7a65ad5fa578.zip |
Fix some detached container warnings
Dunno if necessary, but they came up in the previous debugging session,
so just do it...
Diffstat (limited to 'smglobals.cpp')
-rw-r--r-- | smglobals.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smglobals.cpp b/smglobals.cpp index d0165a9..0612b13 100644 --- a/smglobals.cpp +++ b/smglobals.cpp @@ -20,10 +20,10 @@ SmGlobals *SmGlobals::mInstance = nullptr; SmGlobals::~SmGlobals(){ - for(const auto &model : qAsConst(mModels)){ + for(const auto &model : std::as_const(mModels)){ model->deleteLater(); } - for(QWidget *w : mWidgets){ + for(auto w : std::as_const(mWidgets)){ w->close(); } } |