Skip to content
Permalink
Browse files
show correct service in connection title
  • Loading branch information
blazek committed Apr 28, 2012
1 parent 297d0bd commit 06d38c12eb476c757ba08b55a7b74bd271534785
Showing with 5 additions and 1 deletion.
  1. +5 −1 src/gui/qgsnewhttpconnection.cpp
@@ -29,6 +29,9 @@ QgsNewHttpConnection::QgsNewHttpConnection(
{
setupUi( this );

QString service = baseKey.mid( 18, 3 ).toUpper();
setWindowTitle( tr( "Create a new %1 connection" ).arg( service ) );

// It would be obviously much better to use mBaseKey also for credentials,
// but for some strange reason a different hardcoded key was used instead.
// WFS and WMS credentials were mixed with the same key WMS.
@@ -65,7 +68,8 @@ QgsNewHttpConnection::QgsNewHttpConnection(
// Adjust height
int w = width();
adjustSize();
resize(w, height());
resize( w, height() );

}

on_txtName_textChanged( connName );

0 comments on commit 06d38c1

Please sign in to comment.