Skip to content
Permalink
Browse files

Remove debug noise

  • Loading branch information
m-kuhn committed Jun 12, 2016
1 parent 5fcadeb commit c63b910d75218259c0936c4247ebfb1b529b91ff
Showing with 0 additions and 108 deletions.
  1. +0 −1 src/app/composer/qgscomposerlegendwidget.cpp
  2. +0 −1 src/app/qgsbrowserdockwidget.cpp
  3. +0 −6 src/app/qgscustomization.cpp
  4. +0 −2 src/app/qgscustomprojectiondialog.cpp
  5. +0 −2 src/app/qgsdecorationitem.cpp
  6. +0 −7 src/app/qgsidentifyresultsdialog.cpp
  7. +0 −2 src/app/qgsrasterlayerproperties.cpp
  8. +0 −5 src/browser/qgsbrowser.cpp
  9. +0 −1 src/core/composer/qgscomposerlegend.cpp
  10. +0 −2 src/core/qgsbrowsermodel.cpp
  11. +0 −2 src/core/qgsdataitem.cpp
  12. +0 −1 src/core/qgsgmlschema.cpp
  13. +0 −2 src/core/qgsnetworkaccessmanager.cpp
  14. +0 −3 src/core/symbology-ng/qgscptcityarchive.cpp
  15. +0 −1 src/core/symbology-ng/qgsgraduatedsymbolrendererv2.cpp
  16. +0 −5 src/gui/qgsbrowsertreeview.cpp
  17. +0 −8 src/gui/qgscollapsiblegroupbox.cpp
  18. +0 −1 src/gui/qgsmaptoolidentify.cpp
  19. +0 −1 src/gui/qgsowssourceselect.cpp
  20. +0 −3 src/gui/qgsrasterlayersaveasdialog.cpp
  21. +0 −1 src/gui/qgsrasterpyramidsoptionswidget.cpp
  22. +0 −1 src/gui/raster/qgsrastertransparencywidget.cpp
  23. +0 −1 src/gui/symbology-ng/qgscategorizedsymbolrendererv2widget.cpp
  24. +0 −3 src/gui/symbology-ng/qgscptcitycolorrampv2dialog.cpp
  25. +0 −1 src/gui/symbology-ng/qgsgraduatedsymbolrendererv2widget.cpp
  26. +0 −3 src/plugins/grass/qgsgrassplugin.cpp
  27. +0 −4 src/providers/gdal/qgsgdalprovider.cpp
  28. +0 −1 src/providers/gdal/qgsgdalproviderbase.cpp
  29. +0 −4 src/providers/grass/qgsgrassgislib.cpp
  30. +0 −5 src/providers/grass/qgsgrassprovidermodule.cpp
  31. +0 −6 src/providers/grass/qgsgrassrasterprovider.cpp
  32. +0 −1 src/providers/mssql/qgsmssqldataitems.cpp
  33. +0 −1 src/providers/oracle/qgsoracledataitems.cpp
  34. +0 −2 src/providers/ows/qgsowsdataitems.cpp
  35. +0 −2 src/providers/postgres/qgspostgresdataitems.cpp
  36. +0 −1 src/providers/spatialite/qgsspatialitedataitems.cpp
  37. +0 −2 src/providers/wcs/qgswcscapabilities.cpp
  38. +0 −2 src/providers/wcs/qgswcsdataitems.cpp
  39. +0 −4 src/providers/wcs/qgswcsprovider.cpp
  40. +0 −1 src/providers/wfs/qgswfsrequest.cpp
  41. +0 −1 src/providers/wms/qgswmscapabilities.cpp
  42. +0 −3 src/providers/wms/qgswmsdataitems.cpp
  43. +0 −1 src/providers/wms/qgswmsprovider.cpp
  44. +0 −1 tests/src/providers/testqgswcspublicservers.cpp
@@ -945,7 +945,6 @@ void QgsComposerLegendWidget::selectedChanged( const QModelIndex & current, cons
{
Q_UNUSED( current );
Q_UNUSED( previous );
QgsDebugMsg( "Entered" );

if ( mLegend && mLegend->autoUpdateModel() )
return;
@@ -470,7 +470,6 @@ void QgsBrowserDockWidget::refresh()

void QgsBrowserDockWidget::refreshModel( const QModelIndex& index )
{
QgsDebugMsg( "Entered" );
QgsDataItem *item = mModel->dataItem( index );
if ( item )
{
@@ -291,7 +291,6 @@ void QgsCustomizationDialog::on_mCustomizationEnabledCheckBox_toggled( bool chec

void QgsCustomizationDialog::init()
{
QgsDebugMsg( "Entered" );
QTreeWidgetItem * wi = createTreeItemWidgets();
if ( wi )
{
@@ -313,7 +312,6 @@ void QgsCustomizationDialog::init()

QTreeWidgetItem * QgsCustomizationDialog::createTreeItemWidgets()
{
QgsDebugMsg( "Entered" );

QDomDocument myDoc( "QgsWidgets" );
QFile myFile( QgsApplication::pkgDataPath() + "/resources/customization.xml" );
@@ -342,7 +340,6 @@ QTreeWidgetItem * QgsCustomizationDialog::createTreeItemWidgets()

QTreeWidgetItem * QgsCustomizationDialog::readWidgetsXmlNode( const QDomNode& theNode )
{
QgsDebugMsg( "Entered" );
QDomElement myElement = theNode.toElement();

QString name = myElement.attribute( "objectName", "" );
@@ -382,7 +379,6 @@ QTreeWidgetItem * QgsCustomizationDialog::readWidgetsXmlNode( const QDomNode& th
bool QgsCustomizationDialog::switchWidget( QWidget *widget, QMouseEvent *e )
{
Q_UNUSED( e );
QgsDebugMsg( "Entered" );
if ( !actionCatch->isChecked() )
return false;
QString path = widgetPath( widget );
@@ -636,7 +632,6 @@ QgsCustomization::QgsCustomization()
, mSettings( nullptr )
, mStatusPath( "/Customization/status" )
{
QgsDebugMsg( "Entered" );

QSettings settings;
mEnabled = settings.value( "/UI/Customization/enabled", "false" ).toString() == "true";
@@ -794,7 +789,6 @@ void QgsCustomization::updateMenu( QMenu* menu, QSettings* settings )

void QgsCustomization::openDialog( QWidget *parent )
{
QgsDebugMsg( "Entered" );
if ( !pDialog )
{
pDialog = new QgsCustomizationDialog( parent, mSettings );
@@ -367,7 +367,6 @@ void QgsCustomProjectionDialog::on_leNameList_currentItemChanged( QTreeWidgetIte

void QgsCustomProjectionDialog::on_pbnCopyCRS_clicked()
{
QgsDebugMsg( "Entered" );
QgsGenericProjectionSelector *mySelector = new QgsGenericProjectionSelector( this );
if ( mySelector->exec() )
{
@@ -388,7 +387,6 @@ void QgsCustomProjectionDialog::on_pbnCopyCRS_clicked()

void QgsCustomProjectionDialog::on_buttonBox_accepted()
{
QgsDebugMsg( "Entered" );
//Update the current CRS:
int i = leNameList->currentIndex().row();
if ( i != -1 )
@@ -64,15 +64,13 @@ void QgsDecorationItem::update()

void QgsDecorationItem::projectRead()
{
QgsDebugMsg( "Entered" );
mEnabled = QgsProject::instance()->readBoolEntry( mNameConfig, "/Enabled", false );
mPlacement = static_cast< Placement >( QgsProject::instance()->readNumEntry( mNameConfig, "/Placement", static_cast< int >( mPlacement ) ) );
mMarginUnit = QgsSymbolLayerV2Utils::decodeOutputUnit( QgsProject::instance()->readEntry( mNameConfig, "/MarginUnit", QgsSymbolLayerV2Utils::encodeOutputUnit( mMarginUnit ) ) );
}

void QgsDecorationItem::saveToProject()
{
QgsDebugMsg( "Entered" );
QgsProject::instance()->writeEntry( mNameConfig, "/Enabled", mEnabled );
QgsProject::instance()->writeEntry( mNameConfig, "/Placement", static_cast< int >( mPlacement ) );
QgsProject::instance()->writeEntry( mNameConfig, "/MarginUnit", QgsSymbolLayerV2Utils::encodeOutputUnit( mMarginUnit ) );
@@ -214,7 +214,6 @@ QgsIdentifyResultsWebViewItem::QgsIdentifyResultsWebViewItem( QTreeWidget *treeW

void QgsIdentifyResultsWebViewItem::loadFinished( bool ok )
{
QgsDebugMsg( "Entered" );
Q_UNUSED( ok );

mWebView->show();
@@ -920,7 +919,6 @@ void QgsIdentifyResultsDialog::itemClicked( QTreeWidgetItem *item, int column )

void QgsIdentifyResultsDialog::contextMenuEvent( QContextMenuEvent* event )
{
QgsDebugMsg( "Entered" );

// only handle context menu event if showing tree widget
if ( stackedWidget->currentIndex() != 0 )
@@ -1070,7 +1068,6 @@ void QgsIdentifyResultsDialog::expandColumnsToFit()

void QgsIdentifyResultsDialog::clear()
{
QgsDebugMsg( "Entered" );
for ( int i = 0; i < lstResults->topLevelItemCount(); i++ )
{
disconnectLayer( lstResults->topLevelItem( i )->data( 0, Qt::UserRole ).value<QObject *>() );
@@ -1672,7 +1669,6 @@ void QgsIdentifyResultsDialog::copyAttributeValue()

void QgsIdentifyResultsDialog::copyFeatureAttributes()
{
QgsDebugMsg( "Entered" );
QClipboard *clipboard = QApplication::clipboard();
QString text;

@@ -1782,7 +1778,6 @@ void QgsIdentifyResultsDialog::on_mActionCopy_triggered( bool checked )

void QgsIdentifyResultsDialog::copyFeature()
{
QgsDebugMsg( "Entered" );

QgsIdentifyResultsFeatureItem *item = dynamic_cast<QgsIdentifyResultsFeatureItem *>( featureItem( lstResults->selectedItems().value( 0 ) ) );

@@ -1799,7 +1794,6 @@ void QgsIdentifyResultsDialog::copyFeature()

void QgsIdentifyResultsDialog::toggleFeatureSelection()
{
QgsDebugMsg( "Entered" );

QgsIdentifyResultsFeatureItem *item = dynamic_cast<QgsIdentifyResultsFeatureItem *>( featureItem( lstResults->selectedItems().value( 0 ) ) );

@@ -1821,7 +1815,6 @@ void QgsIdentifyResultsDialog::toggleFeatureSelection()

void QgsIdentifyResultsDialog::formatChanged( int index )
{
QgsDebugMsg( "Entered" );
QComboBox *combo = qobject_cast<QComboBox*>( sender() );
if ( !combo )
{
@@ -445,7 +445,6 @@ QgsRasterLayerProperties::~QgsRasterLayerProperties()

void QgsRasterLayerProperties::setupTransparencyTable( int nBands )
{
QgsDebugMsg( "Entered" );
tableTransparency->clear();
tableTransparency->setColumnCount( 0 );
tableTransparency->setRowCount( 0 );
@@ -1160,7 +1159,6 @@ void QgsRasterLayerProperties::on_mCrsSelector_crsChanged( const QgsCoordinateRe

void QgsRasterLayerProperties::on_pbnDefaultValues_clicked()
{
QgsDebugMsg( "Entered" );
if ( !mRendererWidget )
{
return;
@@ -364,7 +364,6 @@ void QgsBrowser::restoreWindowState()

void QgsBrowser::keyPressEvent( QKeyEvent * e )
{
QgsDebugMsg( "Entered" );
if ( e->key() == Qt::Key_Escape )
{
stopRendering();
@@ -377,7 +376,6 @@ void QgsBrowser::keyPressEvent( QKeyEvent * e )

void QgsBrowser::keyReleaseEvent( QKeyEvent * e )
{
QgsDebugMsg( "Entered" );
if ( treeView->hasFocus() && ( e->key() == Qt::Key_Up || e->key() == Qt::Key_Down ) )
{
itemClicked( treeView->selectionModel()->currentIndex() );
@@ -390,7 +388,6 @@ void QgsBrowser::keyReleaseEvent( QKeyEvent * e )

void QgsBrowser::stopRendering()
{
QgsDebugMsg( "Entered" );
if ( mapCanvas )
mapCanvas->stopRendering();
}
@@ -485,13 +482,11 @@ void QgsBrowser::tabChanged()

void QgsBrowser::on_mActionRefresh_triggered()
{
QgsDebugMsg( "Entered" );
refresh();
}

void QgsBrowser::refresh( const QModelIndex& index )
{
QgsDebugMsg( "Entered" );
if ( index.isValid() )
{
QgsDataItem *item = mModel->dataItem( index );
@@ -291,7 +291,6 @@ void QgsComposerLegend::setRasterBorderWidth( double width ) { mSettings.setRast

void QgsComposerLegend::synchronizeWithModel()
{
QgsDebugMsg( "Entered" );
adjustBoxSize();
updateItem();
}
@@ -410,7 +410,6 @@ void QgsBrowserModel::itemDataChanged( QgsDataItem * item )
}
void QgsBrowserModel::itemStateChanged( QgsDataItem * item, QgsDataItem::State oldState )
{
QgsDebugMsg( "Entered" );
if ( !item )
return;
QModelIndex idx = findItem( item );
@@ -503,7 +502,6 @@ bool QgsBrowserModel::canFetchMore( const QModelIndex & parent ) const

void QgsBrowserModel::fetchMore( const QModelIndex & parent )
{
QgsDebugMsg( "Entered" );
QgsDataItem* item = dataItem( parent );

if ( !item || item->state() == QgsDataItem::Populating || item->state() == QgsDataItem::Populated )
@@ -874,7 +874,6 @@ QVector<QgsDataItem*> QgsDirectoryItem::createChildren()

void QgsDirectoryItem::setState( State state )
{
QgsDebugMsg( "Entered" );
QgsDataCollectionItem::setState( state );

if ( state == Populated )
@@ -898,7 +897,6 @@ void QgsDirectoryItem::setState( State state )

void QgsDirectoryItem::directoryChanged()
{
QgsDebugMsg( "Entered" );
if ( state() == Populating )
{
// schedule to refresh later, because refres() simply returns if Populating
@@ -330,7 +330,6 @@ QDomElement QgsGmlSchema::domElement( const QDomElement &element, const QString

bool QgsGmlSchema::guessSchema( const QByteArray &data )
{
QgsDebugMsg( "Entered" );
mLevel = 0;
mSkipLevel = std::numeric_limits<int>::max();
XML_Parser p = XML_ParserCreateNS( nullptr, NS_SEPARATOR );
@@ -387,14 +387,12 @@ void QgsNetworkAccessManager::setupDefaultProxyAndCache()

void QgsNetworkAccessManager::sendGet( const QNetworkRequest & request )
{
QgsDebugMsg( "Entered" );
QNetworkReply * reply = get( request );
emit requestSent( reply, QObject::sender() );
}

void QgsNetworkAccessManager::deleteReply( QNetworkReply * reply )
{
QgsDebugMsg( "Entered" );
if ( !reply )
{
return;
@@ -845,7 +845,6 @@ QgsCptCityCollectionItem::QgsCptCityCollectionItem( QgsCptCityDataItem* parent,

QgsCptCityCollectionItem::~QgsCptCityCollectionItem()
{
// QgsDebugMsg( "Entered" );
Q_FOREACH ( QgsCptCityDataItem* i, mChildren )
{
// QgsDebugMsg( QString( "delete child = 0x%0" ).arg(( qlonglong )i, 8, 16, QLatin1Char( '0' ) ) );
@@ -1651,7 +1650,6 @@ void QgsCptCityBrowserModel::beginInsertItems( QgsCptCityDataItem *parent, int f
}
void QgsCptCityBrowserModel::endInsertItems()
{
QgsDebugMsg( "Entered" );
endInsertRows();
}
void QgsCptCityBrowserModel::beginRemoveItems( QgsCptCityDataItem *parent, int first, int last )
@@ -1664,7 +1662,6 @@ void QgsCptCityBrowserModel::beginRemoveItems( QgsCptCityDataItem *parent, int f
}
void QgsCptCityBrowserModel::endRemoveItems()
{
QgsDebugMsg( "Entered" );
endRemoveRows();
}
void QgsCptCityBrowserModel::connectItem( QgsCptCityDataItem* item )
@@ -1628,7 +1628,6 @@ bool valueGreaterThan( const QgsRendererRangeV2 &r1, const QgsRendererRangeV2 &r

void QgsGraduatedSymbolRendererV2::sortByValue( Qt::SortOrder order )
{
QgsDebugMsg( "Entered" );
if ( order == Qt::AscendingOrder )
{
qSort( mRanges.begin(), mRanges.end(), valueLessThan );
@@ -33,7 +33,6 @@ QgsBrowserTreeView::~QgsBrowserTreeView()

void QgsBrowserTreeView::setModel( QAbstractItemModel* model )
{
QgsDebugMsg( "Entered" );

QTreeView::setModel( model );

@@ -43,7 +42,6 @@ void QgsBrowserTreeView::setModel( QAbstractItemModel* model )
void QgsBrowserTreeView::showEvent( QShowEvent * e )
{
Q_UNUSED( e );
QgsDebugMsg( "Entered" );
if ( model() )
restoreState();
QTreeView::showEvent( e );
@@ -53,7 +51,6 @@ void QgsBrowserTreeView::showEvent( QShowEvent * e )
void QgsBrowserTreeView::hideEvent( QHideEvent * e )
{
Q_UNUSED( e );
QgsDebugMsg( "Entered" );
// hideEvent() may be called (Mac) before showEvent
if ( model() )
saveState();
@@ -62,7 +59,6 @@ void QgsBrowserTreeView::hideEvent( QHideEvent * e )

void QgsBrowserTreeView::saveState()
{
QgsDebugMsg( "Entered" );
QSettings settings;
QStringList expandedPaths = expandedPathsList( QModelIndex() );
settings.setValue( expandedPathsKey(), expandedPaths );
@@ -71,7 +67,6 @@ void QgsBrowserTreeView::saveState()

void QgsBrowserTreeView::restoreState()
{
QgsDebugMsg( "Entered" );
QSettings settings;
mExpandPaths = settings.value( expandedPathsKey(), QVariant() ).toStringList();

0 comments on commit c63b910

Please sign in to comment.
You can’t perform that action at this time.