on xenial help sign in
drop debug prints
commit8c915dfe14b39e89106d0a768cb6562894873623 authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 12 Dec 2014, 11:14 (12 years ago) parent5aef858
5 files changed−8
plugins/AccountsService/AccountsServiceDBusAdaptor.h−1 plugins/Greeter/Unity/Launcher/launchermodelas.cpp−2 plugins/Unity/Launcher/asadapter.cpp−1 plugins/Unity/Launcher/launchermodel.cpp−2 tests/plugins/Unity/Launcher/AccountsServiceDBusAdaptor.cpp−2
plugins/AccountsService/AccountsServiceDBusAdaptor.h−1
@@ -39,7 +39,6 @@ public:
3939 inline T getUserProperty(const QString &user, const QString &interface, const QString &property) {
4040 QVariant variant = getUserProperty(user, interface, property);
4141 if (variant.isValid() && variant.canConvert<QDBusArgument>()) {
42− qDebug() << "have variant:" << variant;
4342 return qdbus_cast<T>(variant.value<QDBusArgument>());
4443 }
4544 return T();
plugins/Greeter/Unity/Launcher/launchermodelas.cpp−2
@@ -32,7 +32,6 @@ LauncherModel::LauncherModel(QObject *parent):
3232 LauncherModelInterface(parent),
3333 m_accounts(new AccountsServiceDBusAdaptor(this))
3434{
35− qDebug() << "Loading AS based launcher model";
3635 connect(m_accounts, &AccountsServiceDBusAdaptor::propertiesChanged, this, &LauncherModel::propertiesChanged);
3736 refresh();
3837}
@@ -214,7 +213,6 @@ void LauncherModel::refresh()
214213 // Now walk through list and see if we need to add something
215214 for (int asIndex = 0; asIndex < items.count(); ++asIndex) {
216215 QVariant entry = items.at(asIndex);
217− qDebug() << "have AS item" << entry.toMap().value("id").toString();
218216 int itemIndex = -1;
219217 for (int i = 0; i < m_list.count(); ++i) {
220218 if (m_list.at(i)->appId() == entry.toMap().value("id").toString()) {
plugins/Unity/Launcher/asadapter.cpp−1
@@ -39,7 +39,6 @@ ASAdapter::~ASAdapter()
3939
4040void ASAdapter::syncItems(QList<LauncherItem *> m_list)
4141{
42− qDebug() << "syncing items to AS" << m_list.count();
4342 if (m_accounts && !m_user.isEmpty()) {
4443 QList<QVariantMap> items;
4544
plugins/Unity/Launcher/launchermodel.cpp−2
@@ -38,7 +38,6 @@ LauncherModel::LauncherModel(QObject *parent):
3838 m_asAdapter(new ASAdapter()),
3939 m_appManager(0)
4040{
41− qDebug() << "Loading dconf based launcher model";
4241 connect(m_dbusIface, &DBusInterface::countChanged, this, &LauncherModel::countChanged);
4342 connect(m_dbusIface, &DBusInterface::countVisibleChanged, this, &LauncherModel::countVisibleChanged);
4443 connect(m_dbusIface, &DBusInterface::refreshCalled, this, &LauncherModel::refresh);
@@ -364,7 +363,6 @@ void LauncherModel::countVisibleChanged(const QString &appId, int countVisible)
364363
365364void LauncherModel::refresh()
366365{
367− qDebug() << "refreshing";
368366 // First walk through all the existing items and see if we need to remove something
369367 QList<LauncherItem*> toBeRemoved;
370368 Q_FOREACH (LauncherItem* item, m_list) {
tests/plugins/Unity/Launcher/AccountsServiceDBusAdaptor.cpp−2
@@ -29,13 +29,11 @@ QVariant AccountsServiceDBusAdaptor::getUserProperty(const QString &user, const
2929{
3030 Q_UNUSED(user)
3131 Q_UNUSED(interface)
32− qDebug() << "returning properties" << m_properties.value(property);
3332 return m_properties.value(property);
3433}
3534
3635void AccountsServiceDBusAdaptor::setUserProperty(const QString &user, const QString &interface, const QString &property, const QVariant &value)
3736{
38− qDebug() << "setting property" << property << value;
3937 Q_UNUSED(user)
4038 Q_UNUSED(interface)
4139 m_properties[property] = value;