mirror of
https://github.com/mapmapteam/mapmap.git
synced 2026-06-16 12:33:19 +02:00
Store settings in INI file instead system registry on Windows
This commit is contained in:
@@ -32,6 +32,9 @@ MainApplication::MainApplication(int &argc, char *argv[])
|
||||
|
||||
_putenv_s("GST_PLUGIN_PATH", pluginPath.toLocal8Bit());
|
||||
_putenv_s("PATH", libPath.toLocal8Bit());
|
||||
|
||||
// Set settings default format
|
||||
QSettings::setDefaultFormat(QSettings::IniFormat);
|
||||
#endif
|
||||
|
||||
// Initialize GStreamer.
|
||||
|
||||
+1
-1
@@ -25,7 +25,7 @@
|
||||
#include <QApplication>
|
||||
#include <QDebug>
|
||||
#include "MM.h"
|
||||
#include "PreferencesDialog.h"
|
||||
#include <QSettings>
|
||||
|
||||
MM_BEGIN_NAMESPACE
|
||||
|
||||
|
||||
+1
-1
@@ -187,7 +187,7 @@ win32 {
|
||||
else {
|
||||
message(\"GSTREAMER_1_0_ROOT_X86\" detected in \"$${GST_HOME}\")
|
||||
}
|
||||
# DESTDIR = ../../Mapmap # Just for packaging
|
||||
DESTDIR = ../../Mapmap # Just for packaging
|
||||
|
||||
INCLUDEPATH += $${GST_HOME}/lib/gstreamer-1.0/include \
|
||||
$${GST_HOME}/include/glib-2.0 \
|
||||
|
||||
Reference in New Issue
Block a user