[Pkg-owncloud-commits] [owncloud-client] 42/120: Remove debug output
Sandro Knauß
hefee-guest at moszumanska.debian.org
Mon Aug 24 00:02:42 UTC 2015
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit f25df3311ccd7d736ba797af0558bd734d7afb20
Author: Daniel Molkentin <danimo at owncloud.com>
Date: Tue Aug 11 21:42:30 2015 +0200
Remove debug output
---
src/gui/settingsdialog.cpp | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/gui/settingsdialog.cpp b/src/gui/settingsdialog.cpp
index 5ebaf31..a231552 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<QToolButton*>(_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);
}
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list