summaryrefslogtreecommitdiff
path: root/src/graphicsmanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-10-08 14:22:49 +0300
committerAndrei Karas <akaras@inbox.ru>2012-10-08 14:22:49 +0300
commit0c2def29e3bf56a686305ba7385de45214ec86a4 (patch)
tree6e310b27035d5dd5dc9d1ada3adf1f724236b3c1 /src/graphicsmanager.cpp
parentb8dbda756100d2ad6c01ddac0247296a74c28742 (diff)
downloadManaVerse-0c2def29e3bf56a686305ba7385de45214ec86a4.tar.gz
ManaVerse-0c2def29e3bf56a686305ba7385de45214ec86a4.tar.bz2
ManaVerse-0c2def29e3bf56a686305ba7385de45214ec86a4.tar.xz
ManaVerse-0c2def29e3bf56a686305ba7385de45214ec86a4.zip
Allow reinit configuration files.
Diffstat (limited to 'src/graphicsmanager.cpp')
-rw-r--r--src/graphicsmanager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/graphicsmanager.cpp b/src/graphicsmanager.cpp
index 7b56498dc..8e41f4666 100644
--- a/src/graphicsmanager.cpp
+++ b/src/graphicsmanager.cpp
@@ -168,6 +168,7 @@ bool GraphicsManager::detectGraphics()
config.setValue("opengl", mode);
config.setValue("videoconfigured", true);
+ config.write();
logger->log("detection complete");
return true;