Permalink
Browse files

fix biulding issue when WITH_QT_WEBKIT=OFF

  • Loading branch information...
mbernasocchi authored and m-kuhn committed Nov 12, 2015
1 parent 20a8b37 commit 6b3eddd0d0b5958c9d1d59899960552f70948fee
Showing with 4 additions and 0 deletions.
  1. +4 −0 src/gui/editorwidgets/qgsphotowidgetwrapper.cpp
@@ -188,7 +188,11 @@ void QgsPhotoWidgetWrapper::initWidget( QWidget* editor )
bool QgsPhotoWidgetWrapper::valid()
{
#ifdef WITH_QTWEBKIT
return mPhotoLabel || mLineEdit || mButton || mWebView;
#else
return mPhotoLabel || mLineEdit || mButton;
#endif
}
void QgsPhotoWidgetWrapper::setValue( const QVariant& value )

0 comments on commit 6b3eddd

Please sign in to comment.