File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -1041,6 +1041,8 @@ void QgsWMSSourceSelect::on_btnSearch_clicked()
1041
1041
// disable Add WMS button
1042
1042
btnAddWMS->setEnabled ( false );
1043
1043
1044
+ QApplication::setOverrideCursor ( Qt::WaitCursor );
1045
+
1044
1046
QSettings settings;
1045
1047
QString mySearchUrl = settings.value ( " /qgis/WMSSearchUrl" , " http://geopole.org/wms/search?search=%1&type=rss" ).toString ();
1046
1048
QUrl url ( mySearchUrl.arg ( leSearchTerm->text () ) );
@@ -1052,6 +1054,8 @@ void QgsWMSSourceSelect::on_btnSearch_clicked()
1052
1054
1053
1055
void QgsWMSSourceSelect::searchFinished ()
1054
1056
{
1057
+ QApplication::restoreOverrideCursor ();
1058
+
1055
1059
QNetworkReply *r = qobject_cast<QNetworkReply *>( sender () );
1056
1060
if ( !r )
1057
1061
return ;
You can’t perform that action at this time.
0 commit comments