mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Mac needs "/" after directory path for marker to be drawn in Image preview box
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@2693 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
8c68a4a99a
commit
3b055377a1
@ -215,7 +215,11 @@ double QgsSiMaDialog::getScaleFactor() const {
|
||||
|
||||
void QgsSiMaDialog::mIconView_selectionChanged(QIconViewItem * theIconViewItem)
|
||||
{
|
||||
#ifdef Q_OS_MACX
|
||||
mSelectedMarker=mCurrentDir+"/"+theIconViewItem->text();
|
||||
#else
|
||||
mSelectedMarker=mCurrentDir+theIconViewItem->text();
|
||||
#endif
|
||||
|
||||
//draw the SVG-Image on the button
|
||||
double scalefactor=mScaleSpin->value()/100.0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user