improve whitespaces

This commit is contained in:
wmayer
2017-08-31 23:01:34 +02:00
parent fe3f671b81
commit 5d2b22ca28

View File

@@ -743,18 +743,18 @@ void MacroCommand::activated(int iMsg)
Q_UNUSED(iMsg);
QDir d;
if(!systemMacro) {
std::string cMacroPath;
cMacroPath = App::GetApplication().GetParameterGroupByPath
if (!systemMacro) {
std::string cMacroPath;
cMacroPath = App::GetApplication().GetParameterGroupByPath
("User parameter:BaseApp/Preferences/Macro")->GetASCII("MacroPath",
App::Application::getUserMacroDir().c_str());
d = QDir(QString::fromUtf8(cMacroPath.c_str()));
d = QDir(QString::fromUtf8(cMacroPath.c_str()));
}
else {
QString dirstr = QString::fromUtf8(App::GetApplication().getHomePath()) + QString::fromUtf8("Macro");
d = QDir(dirstr);
QString dirstr = QString::fromUtf8(App::GetApplication().getHomePath()) + QString::fromUtf8("Macro");
d = QDir(dirstr);
}
QFileInfo fi(d, QString::fromUtf8(sScriptName));