Fix macro path issue

This commit is contained in:
wmayer
2013-07-23 11:20:48 +02:00
parent d9e126fdf2
commit e11ec162a2

View File

@@ -39,8 +39,8 @@ DlgSettingsMacroImp::DlgSettingsMacroImp( QWidget* parent )
{
this->setupUi(this);
if (MacroPath->fileName().isEmpty()) {
QDir d(QString::fromUtf8(App::GetApplication().GetHomePath()));
MacroPath->setFileName( d.path() );
QDir d(QString::fromUtf8(App::GetApplication().getUserAppDataDir().c_str()));
MacroPath->setFileName(d.path());
}
}