|
84 | 84 |
|
85 | 85 | #define SETTINGS_CHECKED_PLATFORM "Checked platform" |
86 | 86 |
|
87 | | -#define SETTINGS_LAST_USED_PATH "Last used path" |
88 | 87 | #define SETTINGS_LAST_CHECK_PATH "Last check path" |
89 | 88 | #define SETTINGS_LAST_PROJECT_PATH "Last project path" |
90 | 89 | #define SETTINGS_LAST_RESULT_PATH "Last result path" |
|
95 | 94 |
|
96 | 95 | /** |
97 | 96 | * @brief Obtains the path of specified type |
98 | | - * Returns the path of specifed type if not empty. Otherwise returns |
99 | | - * common last used path set previously by any other file dialog window. |
| 97 | + * Returns the path of specified type if not empty. Otherwise returns last check |
| 98 | + * path if valid or user's home directory. |
100 | 99 | * @param type Type of path to obtain |
101 | 100 | * @return Best path fo provided type |
102 | 101 | */ |
103 | 102 | QString GetPath(const QString &type); |
104 | 103 |
|
105 | 104 | /** |
106 | 105 | * @brief Stores last used path of specified type |
107 | | - * Stores provided path as last used path for specified type and if |
108 | | - * @p storeAsLastUsed is enabled its directory is also set as common last used |
109 | | - * path that will later be used to initialize the value of paths of other types. |
| 106 | + * Stores provided path as last used path for specified type. |
110 | 107 | * @param type Type of the path to store |
111 | 108 | * @param value Path to store |
112 | | - * @param storeAsLastUsed Specifies if directory of that path should also be |
113 | | - * stored as common last used path. |
114 | 109 | */ |
115 | | -void SetPath(const QString &type, const QString &value, bool storeAsLastUsed = true); |
| 110 | +void SetPath(const QString &type, const QString &value); |
116 | 111 |
|
117 | 112 | /// @} |
118 | 113 | #endif |
0 commit comments