From: Daniel Molkentin Date: Tue, 11 Aug 2015 19:42:30 +0000 (+0200) Subject: Remove debug output X-Git-Tag: archive/raspbian/3.16.7-1_deb13u1+rpi1~1^2~1408^2~252 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=f25df3311ccd7d736ba797af0558bd734d7afb20;p=nextcloud-desktop.git Remove debug output --- diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp index 5ebaf3169..a23155261 100644 --- a/src/gui/settingsdialog.cpp +++ b/src/gui/settingsdialog.cpp @@ -237,12 +237,10 @@ void SettingsDialog::customizeStyle() _toolBar->setStyleSheet(QString::fromAscii(TOOLBAR_CSS).arg(background).arg(dark).arg(highlightColor).arg(altBase)); Q_FOREACH(QAction *a, _actionGroup->actions()) { - qDebug() << Q_FUNC_INFO << a->property("iconPath").toString(); QIcon icon = createColorAwareIcon(a->property("iconPath").toString()); a->setIcon(icon); QToolButton *btn = qobject_cast(_toolBar->widgetForAction(a)); if (btn) { - qDebug() << "SETTING BUTTON!"; btn->setIcon(icon); } } @@ -252,12 +250,9 @@ void SettingsDialog::customizeStyle() QIcon SettingsDialog::createColorAwareIcon(const QString &name) { QColor bg(palette().base().color()); - qDebug() << Q_FUNC_INFO << bg << bg.name(); QImage img(name); // account for different sensitivty of the human eye to certain colors double treshold = 1.0 - ( 0.299 * bg.red() + 0.587 * bg.green() + 0.114 * bg.blue())/255.0; - qDebug() << Q_FUNC_INFO << bg.red() << bg.green() << bg.blue(); - qDebug() << Q_FUNC_INFO << treshold; if (treshold > 0.5) { img.invertPixels(QImage::InvertRgb); }