summaryrefslogtreecommitdiffstats
path: root/smglobals.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'smglobals.cpp')
-rw-r--r--smglobals.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/smglobals.cpp b/smglobals.cpp
index 0e4b3a9..49758e0 100644
--- a/smglobals.cpp
+++ b/smglobals.cpp
@@ -163,6 +163,10 @@ void SmGlobals::registerWidget(const QString &name, QWidget *w){
mWidgets.insert(name, w);
}
+QWidget *SmGlobals::getRegisteredWidget(const QString &name){
+ return mWidgets.value(name);
+}
+
void SmGlobals::setReencReasons(const QStringList reasons){
mReencReasons = reasons;
std::sort(mReencReasons.begin(), mReencReasons.end());