Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/qgis/Quantum-GIS
Browse files Browse the repository at this point in the history
  • Loading branch information
volaya committed Nov 6, 2012
2 parents a2e6a48 + ff78ef1 commit d97d4a6
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 2 deletions.
1 change: 1 addition & 0 deletions python/plugins/sextante/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ ADD_SUBDIRECTORY(pymorph)
ADD_SUBDIRECTORY(r)
ADD_SUBDIRECTORY(saga)
ADD_SUBDIRECTORY(script)
ADD_SUBDIRECTORY(servertools)
ADD_SUBDIRECTORY(taudem)
#ADD_SUBDIRECTORY(tests)

Expand Down
1 change: 1 addition & 0 deletions src/app/composer/qgscomposer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,7 @@ QgsComposer::QgsComposer( QgisApp *qgis, const QString& title )
mPanelMenu->addAction( mUndoDock->toggleViewAction() );
mAtlasDock = new QDockWidget( tr( "Atlas generation" ), this );
mAtlasDock->setObjectName( "AtlasDock" );
mPanelMenu->addAction( mAtlasDock->toggleViewAction() );

mGeneralDock->setFeatures( QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetClosable );
mItemDock->setFeatures( QDockWidget::DockWidgetMovable | QDockWidget::DockWidgetClosable );
Expand Down
2 changes: 2 additions & 0 deletions src/app/legend/qgslegend.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2158,6 +2158,8 @@ void QgsLegend::removePixmapHeightValue( int height )

void QgsLegend::handleCloseEditor( QWidget * editor, QAbstractItemDelegate::EndEditHint hint )
{
Q_UNUSED( editor );
Q_UNUSED( hint );
QgsLegendItem *item = dynamic_cast<QgsLegendItem *>( currentItem() );
if ( item )
{
Expand Down
4 changes: 3 additions & 1 deletion src/app/qgspluginmanager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -211,8 +211,10 @@ void QgsPluginManager::getPythonPluginDescriptions()
myData.setRenderAsWidget( false );
myData.setChecked( false ); //start off assuming false

if ( iconName == "__error__" or iconName.isEmpty() )
if ( iconName == "__error__" || iconName.isEmpty() )
{
myData.setIcon( QPixmap( QgsApplication::defaultThemePath() + "/plugin.png" ) );
}
else
{
bool relative = QFileInfo( iconName ).isRelative();
Expand Down
2 changes: 1 addition & 1 deletion src/gui/qgsmessagebar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ QgsMessageBar::QgsMessageBar( QWidget *parent )

mCloseBtn = new QToolButton( this );
mCloseBtn->setToolTip( tr( "Close" ) );
mCloseBtn->setStyleSheet( "background-color: rgba(255, 255, 255, 0);" );
mCloseBtn->setStyleSheet( "QToolButton {background-color: rgba(255, 255, 255, 0);}" );
mCloseBtn->setCursor( Qt::PointingHandCursor );
mCloseBtn->setIcon( QgsApplication::getThemeIcon( "/mIconClose.png" ) );
connect( mCloseBtn, SIGNAL( clicked() ), this, SLOT( popWidget() ) );
Expand Down

0 comments on commit d97d4a6

Please sign in to comment.