aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJavier <dev.git@javispedro.com>2014-02-09 01:32:43 +0100
committerJavier <dev.git@javispedro.com>2014-02-09 01:32:43 +0100
commit7fddcc13c71ee90384ef0e452e9cc1ebe65d190f (patch)
tree9fd483d73ea6a0e202acd7c6d7028df0ca112335
parent25f69bffe60bdd9c3dbba46967d30eb73b4f03b3 (diff)
downloadtopmenu-qt-7fddcc13c71ee90384ef0e452e9cc1ebe65d190f.tar.gz
topmenu-qt-7fddcc13c71ee90384ef0e452e9cc1ebe65d190f.zip
cleanup
-rw-r--r--module/topmenumenubarimpl.cc3
1 files changed, 1 insertions, 2 deletions
diff --git a/module/topmenumenubarimpl.cc b/module/topmenumenubarimpl.cc
index 5ce2538..64934c1 100644
--- a/module/topmenumenubarimpl.cc
+++ b/module/topmenumenubarimpl.cc
@@ -87,7 +87,6 @@ TopMenuMenuBarImpl::TopMenuMenuBarImpl(QObject *parent) :
m_monitor_connection_id = g_signal_connect(menuMonitor, "notify::available",
G_CALLBACK(handleMonitorAvailabilityChanged), this);
- qDebug() << "Constructed" << this;
}
TopMenuMenuBarImpl::~TopMenuMenuBarImpl()
@@ -105,7 +104,6 @@ TopMenuMenuBarImpl::~TopMenuMenuBarImpl()
if (m_monitor_connection_id) {
g_signal_handler_disconnect(menuMonitor, m_monitor_connection_id);
}
- qDebug() << "Destructed" << this;
}
void TopMenuMenuBarImpl::init(QMenuBar *menuBar)
@@ -153,6 +151,7 @@ void TopMenuMenuBarImpl::handleReparent(QWidget *oldParent, QWidget *newParent,
{
Q_UNUSED(oldParent);
Q_UNUSED(newParent);
+ Q_UNUSED(oldWindow);
Q_ASSERT(m_appmenubar); // init() must have been called