aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/objects/KvsObject_wrapper.cpp
diff options
context:
space:
mode:
authorGravatar Matt (BlindSight)2015-10-18 06:03:49 -0400
committerGravatar Matt (BlindSight)2015-10-18 06:03:49 -0400
commitfed17bbf5a6fb497173822efa543faaf7982ec6e (patch)
tree40f81cdd8e0461d4a4f4da0ed34ce1ec5e9bf833 /src/modules/objects/KvsObject_wrapper.cpp
parentMerge pull request #1676 from un1versal/The-Emperor's-New-Clothes (diff)
parentClean up trailing whitespaces and excess newlines (diff)
downloadKVIrc-fed17bbf5a6fb497173822efa543faaf7982ec6e.tar.gz
KVIrc-fed17bbf5a6fb497173822efa543faaf7982ec6e.tar.bz2
KVIrc-fed17bbf5a6fb497173822efa543faaf7982ec6e.zip
Merge pull request #1678 from blindsighttf2/cleanup
Clean up trailing whitespaces and excess newlines
Diffstat (limited to 'src/modules/objects/KvsObject_wrapper.cpp')
-rw-r--r--src/modules/objects/KvsObject_wrapper.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/objects/KvsObject_wrapper.cpp b/src/modules/objects/KvsObject_wrapper.cpp
index 16d036669..43f297e8a 100644
--- a/src/modules/objects/KvsObject_wrapper.cpp
+++ b/src/modules/objects/KvsObject_wrapper.cpp
@@ -261,7 +261,7 @@ bool KvsObject_wrapper::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *
pContext->warning(__tr2qs_ctx("The '!Parent' specifier can't be used as first in the search path","objects"));
return false;
}
-
+
int iLevels = 1;
if(!szName.isEmpty())
{
@@ -277,7 +277,7 @@ bool KvsObject_wrapper::init(KviKvsRunTimeContext * pContext,KviKvsVariantList *
while(iLevels > 0)
{
pWidget = pWidget->parentWidget();
-
+
if(!pWidget)
{
pContext->warning(__tr2qs_ctx("The '!Parent' specifier was applied to a widget that has no parent","objects"));
@@ -340,7 +340,7 @@ QWidget * KvsObject_wrapper::findTopLevelWidgetToWrap(const QString &szClass,con
return w;
}
}
-
+
return NULL;
}