Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Less noisy debug output
- Loading branch information
|
@@ -1117,17 +1117,14 @@ void QgsPluginManager::setCurrentTab( int idx ) |
|
|
{ |
|
|
if ( idx == PLUGMAN_TAB_SETTINGS ) |
|
|
{ |
|
|
QgsDebugMsg( "Switching current tab to Settings" ); |
|
|
mOptionsStackedWidget->setCurrentIndex( 2 ); |
|
|
} |
|
|
else if ( idx == PLUGMAN_TAB_INSTALL_FROM_ZIP ) |
|
|
{ |
|
|
QgsDebugMsg( "Switching current tab to Install from ZIP" ); |
|
|
mOptionsStackedWidget->setCurrentIndex( 1 ); |
|
|
} |
|
|
else |
|
|
{ |
|
|
QgsDebugMsg( "Switching current tab to Plugins" ); |
|
|
mOptionsStackedWidget->setCurrentIndex( 0 ); |
|
|
|
|
|
QStringList acceptedStatuses; |
|
|
|
@@ -616,7 +616,7 @@ void QgsIdentifyResultsDialog::addFeature( QgsVectorLayer *vlayer, const QgsFeat |
|
|
|
|
|
tblResults->setRowCount( j + 1 ); |
|
|
|
|
|
QgsDebugMsg( QString( "adding item #%1 / %2 / %3 / %4" ).arg( j ).arg( vlayer->name(), vlayer->attributeDisplayName( i ), value2 ) ); |
|
|
QgsDebugMsgLevel( QStringLiteral( "adding item #%1 / %2 / %3 / %4" ).arg( j ).arg( vlayer->name(), vlayer->attributeDisplayName( i ), value2 ), 4 ); |
|
|
|
|
|
QTableWidgetItem *item = new QTableWidgetItem( vlayer->name() ); |
|
|
item->setData( Qt::UserRole, QVariant::fromValue( qobject_cast<QObject *>( vlayer ) ) ); |
|
|
|
@@ -1066,7 +1066,7 @@ bool QgsPostgresConn::openCursor( const QString &cursorName, const QString &sql |
|
|
{ |
|
|
if ( mOpenCursors++ == 0 && !mTransaction ) |
|
|
{ |
|
|
QgsDebugMsg( QString( "Starting read-only transaction: %1" ).arg( mPostgresqlVersion ) ); |
|
|
QgsDebugMsgLevel( QString( "Starting read-only transaction: %1" ).arg( mPostgresqlVersion ), 4 ); |
|
|
if ( mPostgresqlVersion >= 80000 ) |
|
|
PQexecNR( QStringLiteral( "BEGIN READ ONLY" ) ); |
|
|
else |
|
@@ -1084,7 +1084,7 @@ bool QgsPostgresConn::closeCursor( const QString &cursorName ) |
|
|
|
|
|
if ( --mOpenCursors == 0 && !mTransaction ) |
|
|
{ |
|
|
QgsDebugMsg( "Committing read-only transaction" ); |
|
|
QgsDebugMsgLevel( "Committing read-only transaction", 4 ); |
|
|
PQexecNR( QStringLiteral( "COMMIT" ) ); |
|
|
} |
|
|
|
|
|
You can’t perform that action at this time.
You signed in with another tab or window. Reload to refresh your session.
You signed out in another tab or window. Reload to refresh your session.