bug3347fix.diff
src/gui/qgssearchquerybuilder.cpp (working copy) | ||
---|---|---|
234 | 234 |
} |
235 | 235 | |
236 | 236 |
QApplication::restoreOverrideCursor(); |
237 | ||
237 |
//kCube Start bug #3347 2010/02/11 |
|
238 |
/** The below code has been added to fix the bug #3347 |
|
239 |
*The below code checks whether the search string has error. If it has it throws a message box |
|
240 |
*displaying the type of error. |
|
241 |
*email :contact [at] kcubeconsulting [Dot] com |
|
242 |
*/ |
|
243 |
if ( searchTree->hasError() ) |
|
244 |
{ |
|
245 |
QMessageBox::critical( this, tr( "Error during search" ), searchTree->errorMsg() ); |
|
246 |
return -1; |
|
247 |
} |
|
248 |
//kCube End bug #3347 |
|
238 | 249 |
return count; |
239 | 250 |
} |
240 | 251 |