Skip to content

Commit c63b910

Browse files
committed
Remove debug noise
1 parent 5fcadeb commit c63b910

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+0
-108
lines changed

src/app/composer/qgscomposerlegendwidget.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -945,7 +945,6 @@ void QgsComposerLegendWidget::selectedChanged( const QModelIndex & current, cons
945945
{
946946
Q_UNUSED( current );
947947
Q_UNUSED( previous );
948-
QgsDebugMsg( "Entered" );
949948

950949
if ( mLegend && mLegend->autoUpdateModel() )
951950
return;

src/app/qgsbrowserdockwidget.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -470,7 +470,6 @@ void QgsBrowserDockWidget::refresh()
470470

471471
void QgsBrowserDockWidget::refreshModel( const QModelIndex& index )
472472
{
473-
QgsDebugMsg( "Entered" );
474473
QgsDataItem *item = mModel->dataItem( index );
475474
if ( item )
476475
{

src/app/qgscustomization.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ void QgsCustomizationDialog::on_mCustomizationEnabledCheckBox_toggled( bool chec
291291

292292
void QgsCustomizationDialog::init()
293293
{
294-
QgsDebugMsg( "Entered" );
295294
QTreeWidgetItem * wi = createTreeItemWidgets();
296295
if ( wi )
297296
{
@@ -313,7 +312,6 @@ void QgsCustomizationDialog::init()
313312

314313
QTreeWidgetItem * QgsCustomizationDialog::createTreeItemWidgets()
315314
{
316-
QgsDebugMsg( "Entered" );
317315

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

343341
QTreeWidgetItem * QgsCustomizationDialog::readWidgetsXmlNode( const QDomNode& theNode )
344342
{
345-
QgsDebugMsg( "Entered" );
346343
QDomElement myElement = theNode.toElement();
347344

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

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

795790
void QgsCustomization::openDialog( QWidget *parent )
796791
{
797-
QgsDebugMsg( "Entered" );
798792
if ( !pDialog )
799793
{
800794
pDialog = new QgsCustomizationDialog( parent, mSettings );

src/app/qgscustomprojectiondialog.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -367,7 +367,6 @@ void QgsCustomProjectionDialog::on_leNameList_currentItemChanged( QTreeWidgetIte
367367

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

389388
void QgsCustomProjectionDialog::on_buttonBox_accepted()
390389
{
391-
QgsDebugMsg( "Entered" );
392390
//Update the current CRS:
393391
int i = leNameList->currentIndex().row();
394392
if ( i != -1 )

src/app/qgsdecorationitem.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,15 +64,13 @@ void QgsDecorationItem::update()
6464

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

7372
void QgsDecorationItem::saveToProject()
7473
{
75-
QgsDebugMsg( "Entered" );
7674
QgsProject::instance()->writeEntry( mNameConfig, "/Enabled", mEnabled );
7775
QgsProject::instance()->writeEntry( mNameConfig, "/Placement", static_cast< int >( mPlacement ) );
7876
QgsProject::instance()->writeEntry( mNameConfig, "/MarginUnit", QgsSymbolLayerV2Utils::encodeOutputUnit( mMarginUnit ) );

src/app/qgsidentifyresultsdialog.cpp

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,6 @@ QgsIdentifyResultsWebViewItem::QgsIdentifyResultsWebViewItem( QTreeWidget *treeW
214214

215215
void QgsIdentifyResultsWebViewItem::loadFinished( bool ok )
216216
{
217-
QgsDebugMsg( "Entered" );
218217
Q_UNUSED( ok );
219218

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

921920
void QgsIdentifyResultsDialog::contextMenuEvent( QContextMenuEvent* event )
922921
{
923-
QgsDebugMsg( "Entered" );
924922

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

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

16731670
void QgsIdentifyResultsDialog::copyFeatureAttributes()
16741671
{
1675-
QgsDebugMsg( "Entered" );
16761672
QClipboard *clipboard = QApplication::clipboard();
16771673
QString text;
16781674

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

17831779
void QgsIdentifyResultsDialog::copyFeature()
17841780
{
1785-
QgsDebugMsg( "Entered" );
17861781

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

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

18001795
void QgsIdentifyResultsDialog::toggleFeatureSelection()
18011796
{
1802-
QgsDebugMsg( "Entered" );
18031797

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

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

18221816
void QgsIdentifyResultsDialog::formatChanged( int index )
18231817
{
1824-
QgsDebugMsg( "Entered" );
18251818
QComboBox *combo = qobject_cast<QComboBox*>( sender() );
18261819
if ( !combo )
18271820
{

src/app/qgsrasterlayerproperties.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,6 @@ QgsRasterLayerProperties::~QgsRasterLayerProperties()
445445

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

11611160
void QgsRasterLayerProperties::on_pbnDefaultValues_clicked()
11621161
{
1163-
QgsDebugMsg( "Entered" );
11641162
if ( !mRendererWidget )
11651163
{
11661164
return;

src/browser/qgsbrowser.cpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ void QgsBrowser::restoreWindowState()
364364

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

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

391389
void QgsBrowser::stopRendering()
392390
{
393-
QgsDebugMsg( "Entered" );
394391
if ( mapCanvas )
395392
mapCanvas->stopRendering();
396393
}
@@ -485,13 +482,11 @@ void QgsBrowser::tabChanged()
485482

486483
void QgsBrowser::on_mActionRefresh_triggered()
487484
{
488-
QgsDebugMsg( "Entered" );
489485
refresh();
490486
}
491487

492488
void QgsBrowser::refresh( const QModelIndex& index )
493489
{
494-
QgsDebugMsg( "Entered" );
495490
if ( index.isValid() )
496491
{
497492
QgsDataItem *item = mModel->dataItem( index );

src/core/composer/qgscomposerlegend.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,6 @@ void QgsComposerLegend::setRasterBorderWidth( double width ) { mSettings.setRast
291291

292292
void QgsComposerLegend::synchronizeWithModel()
293293
{
294-
QgsDebugMsg( "Entered" );
295294
adjustBoxSize();
296295
updateItem();
297296
}

src/core/qgsbrowsermodel.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,6 @@ void QgsBrowserModel::itemDataChanged( QgsDataItem * item )
410410
}
411411
void QgsBrowserModel::itemStateChanged( QgsDataItem * item, QgsDataItem::State oldState )
412412
{
413-
QgsDebugMsg( "Entered" );
414413
if ( !item )
415414
return;
416415
QModelIndex idx = findItem( item );
@@ -503,7 +502,6 @@ bool QgsBrowserModel::canFetchMore( const QModelIndex & parent ) const
503502

504503
void QgsBrowserModel::fetchMore( const QModelIndex & parent )
505504
{
506-
QgsDebugMsg( "Entered" );
507505
QgsDataItem* item = dataItem( parent );
508506

509507
if ( !item || item->state() == QgsDataItem::Populating || item->state() == QgsDataItem::Populated )

0 commit comments

Comments
 (0)