Skip to content

Commit

Permalink
Remove debug
Browse files Browse the repository at this point in the history
.. erroneous updates left in last commit. Apologies.
  • Loading branch information
liversedge committed Jul 4, 2021
1 parent 271c0a9 commit 1335786
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/Gui/ColorButton.cpp
Expand Up @@ -121,9 +121,6 @@ GColorDialog::GColorDialog(QColor selected, QWidget *parent) : QDialog(parent),
colorlist->setUniformRowHeights(true); // causes height problems when adding - in case of non-text fields
colorlist->setIndentation(0);

// filter colors
colorlist->setRowHidden(0, colorlist->rootIndex(), true);

// map button signals
mapper = new QSignalMapper(this);
connect(mapper, SIGNAL(mappedInt(int)), this, SLOT(gcClicked(int)));
Expand Down Expand Up @@ -173,8 +170,6 @@ GColorDialog::GColorDialog(QColor selected, QWidget *parent) : QDialog(parent),
void
GColorDialog::searchFilter(QString text)
{
fprintf(stderr, "filtering on: %s\n",text.toStdString().c_str());
fflush(stderr);
QStringList toks = text.split(" ", Qt::SkipEmptyParts);
bool empty;
if (toks.count() == 0 || text == "") empty=true;
Expand Down

0 comments on commit 1335786

Please sign in to comment.