mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-22 00:06:12 -05:00
typo(fix): corrects common typos in project README files
This commit is contained in:
parent
e3289f3bd2
commit
f93b738ac9
2
external/o2/README.md
vendored
2
external/o2/README.md
vendored
@ -180,7 +180,7 @@ That's it. Tweets using the O2 library!
|
|||||||
|
|
||||||
### Storing OAuth Tokens
|
### Storing OAuth Tokens
|
||||||
|
|
||||||
O2 provides simple storage classes for writing OAuth tokens in a peristent location. Currently, a QSettings based backing store **O2SettingsStore** is provided in O2. O2SettingsStore keeps all token values in an encrypted form. You have to specify the encryption key to use while constructing the object:
|
O2 provides simple storage classes for writing OAuth tokens in a persistent location. Currently, a QSettings based backing store **O2SettingsStore** is provided in O2. O2SettingsStore keeps all token values in an encrypted form. You have to specify the encryption key to use while constructing the object:
|
||||||
|
|
||||||
O0SettingsStore settings = new O0SettingsStore("myencryptionkey");
|
O0SettingsStore settings = new O0SettingsStore("myencryptionkey");
|
||||||
// Set the store before starting OAuth, i.e before calling link()
|
// Set the store before starting OAuth, i.e before calling link()
|
||||||
|
4
external/wintoast/README.md
vendored
4
external/wintoast/README.md
vendored
@ -148,8 +148,8 @@ A common example of usage is to check while initializing the library or showing
|
|||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
WinToast::WinToastError error;
|
WinToast::WinToastError error;
|
||||||
const bool succedded = WinToast::instance()->initialize(&error);
|
const bool succeeded = WinToast::instance()->initialize(&error);
|
||||||
if (!succedded) {
|
if (!succeeded) {
|
||||||
std::wcout << L"Error, could not initialize the lib. Error number: "
|
std::wcout << L"Error, could not initialize the lib. Error number: "
|
||||||
<< error << std::endl;
|
<< error << std::endl;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user