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) }; }