Skip to content
Permalink
Browse files

- improved wraning msg, removed useless test

  • Loading branch information
vmora committed Sep 13, 2013
1 parent 40e53e0 commit 6e312456f42dbbc693ffafe6db4fe3302381b6c2
@@ -488,7 +488,7 @@ void QgsGraduatedSymbolRendererV2Widget::classifyGraduated()
if ( QgsGraduatedSymbolRendererV2::Jenks == mode
&& mLayer->featureCount() > 50000 )
{
if ( QMessageBox::Cancel == QMessageBox::question( this, tr( "Warning" ), tr( "Natural break classification (Jenks) is O(n2) complexity, your classification may take a long time." ), QMessageBox::Cancel, QMessageBox::Ok ) ) return;
if ( QMessageBox::Cancel == QMessageBox::question( this, tr( "Warning" ), tr( "Natural break classification (Jenks) is O(n2) complexity, your classification may take a long time.\nPress cancel to abort breaks calculation or OK to continue." ), QMessageBox::Cancel, QMessageBox::Ok ) ) return;
}

// create and set new renderer

This file was deleted.

0 comments on commit 6e31245

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