Changeset 244 in flair-src for trunk/tools/FlairGCS/src/Layout.cpp


Ignore:
Timestamp:
05/24/18 11:45:33 (4 years ago)
Author:
Sanahuja Guillaume
Message:

modifs segfault when closing connection

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tools/FlairGCS/src/Layout.cpp

    r221 r244  
    4040void Layout::Constructor(QString name) {
    4141  visible_widget = qgridlayout->parentWidget();
    42   // if(visible_widget==NULL) printf("null\n");
     42  // if(visible_widget==NULL) fprintf(stderr,"null\n");
    4343  qgridlayout->setObjectName(name);
    44   // printf("layout\n%s\n",XmlDoc().toString().toLocal8Bit().constData());
     44  // fprintf(stderr,"layout\n%s\n",XmlDoc().toString().toLocal8Bit().constData());
    4545  SetIsContainer(true);
    4646  SetIsExpandable(true);
     
    9797  // if an item already exists at this position, put it on a new row
    9898  if (qgridlayout->itemAtPosition(row, col) != NULL) {
    99     printf("existe %s\n", name.toLocal8Bit().constData());
     99    fprintf(stderr,"widget %s: (%i,%i) already exists\n", name.toLocal8Bit().constData(),row, col);
    100100    row = qgridlayout->rowCount();
     101    fprintf(stderr,"using (%i,%i) for %s\n", row, col,name.toLocal8Bit().constData());
    101102  }
    102103
Note: See TracChangeset for help on using the changeset viewer.