r19281 by jghali - code indentation fix
scribus-commit
scribus-commit at lists.scribus.net
Wed Jun 25 21:27:06 UTC 2014
Author: jghali
Date: Wed Jun 25 21:27:06 2014
New Revision: 19281
URL: http://scribus.net/websvn/listing.php?repname=Scribus&sc=1&rev=19281
Log:
code indentation fix
Modified:
trunk/Scribus/scribus/ui/sctablewidget.cpp
Modified: trunk/Scribus/scribus/ui/sctablewidget.cpp
URL: http://scribus.net/websvn/diff.php?repname=Scribus&rev=19281&path=/trunk/Scribus/scribus/ui/sctablewidget.cpp
==============================================================================
--- trunk/Scribus/scribus/ui/sctablewidget.cpp (original)
+++ trunk/Scribus/scribus/ui/sctablewidget.cpp Wed Jun 25 21:27:06 2014
@@ -52,17 +52,17 @@
}
}
else
+ {
+ QCheckBox* checkbox = qobject_cast<QCheckBox*>(obj);
+ if (checkbox)
{
- QCheckBox* checkbox = qobject_cast<QCheckBox*>(obj);
- if (checkbox)
+ if (widgetPositions.contains(checkbox))
{
- if (widgetPositions.contains(checkbox))
- {
- r=widgetPositions.value(checkbox).first;
- c=widgetPositions.value(checkbox).second;
- }
+ r=widgetPositions.value(checkbox).first;
+ c=widgetPositions.value(checkbox).second;
}
}
+ }
if (r!=-1 && c!=-1)
emit cellChanged(r,c);
}
More information about the scribus-commit
mailing list