From 57d25b3a535736aea7edcec1f8466984e36822de Mon Sep 17 00:00:00 2001 From: Ievgenii Meshcheriakov Date: Tue, 21 Feb 2023 15:26:11 +0100 Subject: [PATCH] chat example: Remove empty destructor MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Task-number: QTBUG-111366 Pick-to: 6.5 Change-Id: I880c16638c992a4ee8528b1c545e6f563a7efa8b Reviewed-by: MÃ¥rten Nordheim --- examples/dbus/chat/chat.cpp | 4 ---- examples/dbus/chat/chat.h | 1 - 2 files changed, 5 deletions(-) diff --git a/examples/dbus/chat/chat.cpp b/examples/dbus/chat/chat.cpp index 5b5bf2a1343..2eea46b014f 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 8a6551aaaee..0cbca29590e 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();