Commit bf9fabe4 authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk
Browse files

Fix warning

MainConnection inherits ErrorLogger, which contains a virtual function

/usr/include/qt4/QtCore/qsharedpointer_impl.h:342:21: warning: deleting object
of polymorphic class type ‘ZeroConf::Internal::MainConnection’ which has
non-virtual destructor might cause undefined behaviour [-Wdelete-non-virtual-dtor]

Change-Id: I6e0a698da8f1b7024eae24167078b51e8921a435
Reviewed-by: default avatarLaszlo Papp <>
Reviewed-by: default avatarhjk <>
parent e15f1cee
......@@ -234,7 +234,7 @@ public:
ZConfLib::Ptr lib;
MainConnection(ServiceBrowserPrivate *initialBrowser = 0);
virtual ~MainConnection();
QMutex *lock();
QMutex *mainThreadLock();
void waitStartup();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment