Skip to content

Commit

Permalink
Refs #1579. Putting settings switch back.
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Reuter committed May 17, 2013
1 parent 7bc72c1 commit b6cedca
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions Code/Mantid/MantidPlot/src/ApplicationWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,11 @@ Scripted(ScriptingLangManager::newEnv(this)),
blockWindowActivation(false),
m_enableQtiPlotFitting(false),
m_exitCode(0), g_log(Mantid::Kernel::Logger::get("ApplicationWindow")),
settings(QSettings::IniFormat, QSettings::UserScope, "Mantid", "MantidPlot")
#ifdef Q_OS_MAC // Mac
settings(QSettings::IniFormat, QSettings::UserScope, "Mantid", "MantidPlot")
#else
settings("Mantid", "MantidPlot")
#endif
{
QStringList empty;
init(factorySettings, empty);
Expand All @@ -235,7 +239,11 @@ Scripted(ScriptingLangManager::newEnv(this)),
blockWindowActivation(false),
m_enableQtiPlotFitting(false),
m_exitCode(0), g_log(Mantid::Kernel::Logger::get("ApplicationWindow")),
settings(QSettings::IniFormat, QSettings::UserScope, "Mantid", "MantidPlot")
#ifdef Q_OS_MAC // Mac
settings(QSettings::IniFormat, QSettings::UserScope, "Mantid", "MantidPlot")
#else
settings("Mantid", "MantidPlot")
#endif
{
init(factorySettings, args);
}
Expand Down

0 comments on commit b6cedca

Please sign in to comment.