Skip to content

Commit

Permalink
Make wms lib load under windows build with qmake. This required disab…
Browse files Browse the repository at this point in the history
…ling sig / slots for now. It has little impact other than disabling the display of some status messages.

git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6217 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Dec 8, 2006
1 parent 7be591e commit d924a0f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/providers/wms/qgswmsprovider.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1893,7 +1893,9 @@ void QgsWmsProvider::showStatusMessage(QString const & theMessage)
{
// Pass-through
// TODO: See if we can connect signal-to-signal. This is a kludge according to the Qt doc.
#ifndef WIN32
emit setStatus(theMessage);
#endif
}


Expand Down
7 changes: 6 additions & 1 deletion src/providers/wms/qgswmsprovider.h
Original file line number Diff line number Diff line change
Expand Up @@ -338,8 +338,10 @@
*/
class QgsWmsProvider : public QgsRasterDataProvider
{


#ifndef WIN32
Q_OBJECT
#endif

public:

Expand Down Expand Up @@ -610,6 +612,8 @@ class QgsWmsProvider : public QgsRasterDataProvider
QString description() const;


#ifndef WIN32

signals:

/** \brief emit a signal to notify of a progress event */
Expand All @@ -620,6 +624,7 @@ class QgsWmsProvider : public QgsRasterDataProvider


public slots:
#endif

void showStatusMessage(QString const & theMessage);

Expand Down

0 comments on commit d924a0f

Please sign in to comment.