Implemented NetworkCookieJar::clearCookiesSetting()
[situare] / src / ui / locationsearchpanel.cpp
index 5b2c911..08f24d2 100644 (file)
@@ -136,7 +136,7 @@ LocationSearchPanel::~LocationSearchPanel()
 {
     qDebug() << __PRETTY_FUNCTION__;
 
-    QSettings settings(DIRECTORY_NAME, FILE_NAME);
+    QSettings settings(SETTINGS_ORGANIZATION_NAME, SETTINGS_APPLICATION_NAME);
     QList<QVariant> searchHistories;
 
     for (int i = 0; i < m_searchHistoryListView->count(); ++i) {
@@ -208,7 +208,7 @@ void LocationSearchPanel::readSettings()
 
     const int SEARCH_HISTORY_LIST_ITEM_COUNT = 2;
 
-    QSettings settings(DIRECTORY_NAME, FILE_NAME);
+    QSettings settings(SETTINGS_ORGANIZATION_NAME, SETTINGS_APPLICATION_NAME);
     QList<QVariant> searchHistories = settings.value(SETTINGS_SEARCH_HISTORY).toList();
 
     if (searchHistories.count() > 0)