fix Warning
This commit is contained in:
1 parent
593c221d23
commit
8345470273
316 files changed
+1246
-929
No files matched your search
@@ -9,6 +9,7 @@
|
||||
*/
|
||||
|
||||
#include "lts_session.h"
|
||||
#include <utility>
|
||||
|
||||
#ifdef BUILD_RTI
|
||||
#include "lts_session_data_dds.h"
|
||||
@@ -1307,7 +1308,7 @@ void LtsSession::createBaseLayout()
|
||||
if (showDeveloperActions)
|
||||
addDeveloperActions();
|
||||
|
||||
for (LtsNotification::LtsNotificationController* ctl : qAsConst(m_notiCtlList))
|
||||
for (LtsNotification::LtsNotificationController* ctl : std::as_const(m_notiCtlList))
|
||||
{
|
||||
if (!m_baseLayout->notificationExists(ctl->identifier())) // add if non-existent only
|
||||
m_baseLayout->addNotification(ctl->createWidget()); // FIXME: crash when no icons?
|
||||
|
||||
Reference in new issue
Block a user