Fixed typos

This commit is contained in:
Uwe Kindler 2020-06-04 20:48:59 +02:00
parent f58a3d4401
commit bcb7118710

View File

@ -60,7 +60,7 @@
* name. Normally, when resources are built as part of the application, the * name. Normally, when resources are built as part of the application, the
* resources are loaded automatically at startup. The Q_INIT_RESOURCE() macro * resources are loaded automatically at startup. The Q_INIT_RESOURCE() macro
* is necessary on some platforms for resources stored in a static library. * is necessary on some platforms for resources stored in a static library.
* Because GCC caues a linker error if we put Q_INIT_RESOURCE into the * Because GCC causes a linker error if we put Q_INIT_RESOURCE into the
* loadStyleSheet() function, we place it into a function outside of the ads * loadStyleSheet() function, we place it into a function outside of the ads
* namespace * namespace
*/ */
@ -73,7 +73,7 @@ static void initResource()
namespace ads namespace ads
{ {
/** /**
* Internal file version in case the sturture changes interbally * Internal file version in case the structure changes internally
*/ */
enum eStateFileVersion enum eStateFileVersion
{ {
@ -252,7 +252,7 @@ bool DockManagerPrivate::restoreStateFromXml(const QByteArray &state, int versi
ADS_PRINT(s.attributes().value("UserVersion")); ADS_PRINT(s.attributes().value("UserVersion"));
// Older files do not support UserVersion but we still want to load them so // Older files do not support UserVersion but we still want to load them so
// we first test if the attribiute exists // we first test if the attribute exists
if (!s.attributes().value("UserVersion").isEmpty()) if (!s.attributes().value("UserVersion").isEmpty())
{ {
v = s.attributes().value("UserVersion").toInt(&ok); v = s.attributes().value("UserVersion").toInt(&ok);