diff options
Diffstat (limited to 'client/widgets/common.cc')
-rw-r--r-- | client/widgets/common.cc | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/client/widgets/common.cc b/client/widgets/common.cc index f39c607..b650701 100644 --- a/client/widgets/common.cc +++ b/client/widgets/common.cc @@ -96,3 +96,10 @@ void setCommonLayout(QWidget *widget, QDomNode &node) widget->setContentsMargins(0,0,0,0); //widget->layout()->setContentsMargins(0,0,0,0); } + +bool isUserSource(QString source) +{ + if(source == "pentominos") return true; + if(source == "pracro") return false; + return false; +} |