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 @@ -1095,6 +1095,8 @@ void QgsWMSSourceSelect::on_btnSearch_clicked()
1095
1095
// disable Add WMS button
1096
1096
btnAddWMS->setEnabled ( false );
1097
1097
1098
+ QApplication::setOverrideCursor ( Qt::WaitCursor );
1099
+
1098
1100
QSettings settings;
1099
1101
QString mySearchUrl = settings.value ( " /qgis/WMSSearchUrl" , " http://geopole.org/wms/search?search=%1&type=rss" ).toString ();
1100
1102
QUrl url ( mySearchUrl.arg ( leSearchTerm->text () ) );
@@ -1106,6 +1108,8 @@ void QgsWMSSourceSelect::on_btnSearch_clicked()
1106
1108
1107
1109
void QgsWMSSourceSelect::searchFinished ()
1108
1110
{
1111
+ QApplication::restoreOverrideCursor ();
1112
+
1109
1113
QNetworkReply *r = qobject_cast<QNetworkReply *>( sender () );
1110
1114
if ( !r )
1111
1115
return ;
You can’t perform that action at this time.
0 commit comments