From b3d53e5a0b8e964c20abba192f85f722a90c5a80 Mon Sep 17 00:00:00 2001 From: dismine Date: Sat, 20 Sep 2014 18:18:15 +0300 Subject: [PATCH] Cppcheck warnings. --HG-- branch : develop --- src/app/main.cpp | 2 -- src/libs/vpropertyexplorer/vpropertyset.h | 2 ++ 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/app/main.cpp b/src/app/main.cpp index aefb59c13..cd7a83f02 100644 --- a/src/app/main.cpp +++ b/src/app/main.cpp @@ -94,7 +94,6 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con context.function); messageBox.exec(); abort(); - break; case QtFatalMsg: messageBox.setIcon(QMessageBox::Critical); messageBox.setInformativeText(msg); @@ -103,7 +102,6 @@ inline void noisyFailureMsgHandler(QtMsgType type, const QMessageLogContext &con context.function); messageBox.exec(); abort(); - break; default: break; } diff --git a/src/libs/vpropertyexplorer/vpropertyset.h b/src/libs/vpropertyexplorer/vpropertyset.h index f7601df5c..46adb1273 100644 --- a/src/libs/vpropertyexplorer/vpropertyset.h +++ b/src/libs/vpropertyexplorer/vpropertyset.h @@ -129,6 +129,8 @@ protected: //! The data VPropertySetPrivate* d_ptr; +private: + Q_DISABLE_COPY(VPropertySet) }; }