Browse Source

Fix crash when saving before start

pull/36/head
Tux3 / Mlkj / !Lev.uXFMLA 12 years ago
parent
commit
a3b20ee81e
  1. 6
      core.cpp

6
core.cpp

@ -668,6 +668,12 @@ void Core::loadConfiguration() @@ -668,6 +668,12 @@ void Core::loadConfiguration()
void Core::saveConfiguration()
{
if (!tox)
{
qWarning() << "Core::saveConfiguration: Tox not started, aborting!";
return;
}
QString path = Settings::getSettingsDirPath();
QDir directory(path);

Loading…
Cancel
Save