use_native_separators.diff

Proposed patch - Alexander Bruy, 2011-04-17 06:50 AM

Download (559 Bytes)

View differences:

src/gui/qgsattributeeditor.cpp (working copy)
39 39
#include <QCalendarWidget>
40 40
#include <QDialogButtonBox>
41 41
#include <QSettings>
42
#include <QDir>
42 43

  
43 44
void QgsAttributeEditor::selectFileName()
44 45
{
......
58 59
  if ( fileName.isNull() )
59 60
    return;
60 61

  
61
  le->setText( fileName );
62
  le->setText( QDir::toNativeSeparators( fileName ) );
62 63
}
63 64

  
64 65
void QgsAttributeEditor::selectDate()