diff --git a/examples/dbus/chat/chat.cpp b/examples/dbus/chat/chat.cpp index 5b5bf2a134..2eea46b014 100644 --- a/examples/dbus/chat/chat.cpp +++ b/examples/dbus/chat/chat.cpp @@ -39,10 +39,6 @@ ChatMainWindow::ChatMainWindow() QMetaObject::invokeMethod(qApp, &QApplication::quit, Qt::QueuedConnection); } -ChatMainWindow::~ChatMainWindow() -{ -} - void ChatMainWindow::rebuildHistory() { QString history = m_messages.join( QLatin1String("\n" ) ); diff --git a/examples/dbus/chat/chat.h b/examples/dbus/chat/chat.h index 8a6551aaae..0cbca29590 100644 --- a/examples/dbus/chat/chat.h +++ b/examples/dbus/chat/chat.h @@ -15,7 +15,6 @@ class ChatMainWindow: public QMainWindow, Ui::ChatMainWindow QStringList m_messages; public: ChatMainWindow(); - ~ChatMainWindow(); void rebuildHistory();