Skip to content
Permalink
Browse files
fix position restore of identify results
git-svn-id: http://svn.osgeo.org/qgis/trunk@13507 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
jef committed May 16, 2010
1 parent 30caf1a commit 6121eea3d86f5a49c79dee4a675985a9cee84be6
Showing with 1 addition and 9 deletions.
  1. +1 −8 src/app/qgsidentifyresults.cpp
  2. +0 −1 src/app/qgsidentifyresults.h
@@ -105,6 +105,7 @@ QgsIdentifyResults::QgsIdentifyResults( QgsMapCanvas *canvas, QWidget *parent, Q
{
setupUi( this );
QSettings mySettings;
restoreGeometry( mySettings.value( "/Windows/Identify/geometry" ).toByteArray() );
bool myDockFlag = mySettings.value( "/qgis/dockIdentifyResults", false ).toBool();
if ( myDockFlag )
{
@@ -419,14 +420,6 @@ void QgsIdentifyResults::contextMenuEvent( QContextMenuEvent* event )
mActionPopup->popup( event->globalPos() );
}

// Restore last window position/size and show the window
void QgsIdentifyResults::restorePosition()
{
QSettings settings;
restoreGeometry( settings.value( "/Windows/Identify/geometry" ).toByteArray() );
show();
}

// Save the current window location (store in ~/.qt/qgisrc)
void QgsIdentifyResults::saveWindowLocation()
{
@@ -124,7 +124,6 @@ class QgsIdentifyResults: public QDialog, private Ui::QgsIdentifyResultsBase
void setColumnText( int column, const QString & label );
void expandColumnsToFit();
void saveWindowLocation();
void restorePosition();

void highlightFeature( QTreeWidgetItem *item );

0 comments on commit 6121eea

Please sign in to comment.