diff options
author | Arno <arno@disconnect.de> | 2018-03-31 18:23:30 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2018-03-31 18:23:30 +0200 |
commit | 3ef1fdee3a8f698cea243c86f4747a4060eb1763 (patch) | |
tree | 516883fe5410cb9f7a94a2ce8cc88f16a4ec46b1 /smglobals.cpp | |
parent | 8691fe4f1cae523bc2fdd64d3e90326f92fcb9d6 (diff) | |
download | SheMov-3ef1fdee3a8f698cea243c86f4747a4060eb1763.tar.gz SheMov-3ef1fdee3a8f698cea243c86f4747a4060eb1763.tar.bz2 SheMov-3ef1fdee3a8f698cea243c86f4747a4060eb1763.zip |
Implement archive movies for FSWidget
Mimic the old behavior, but make the Wizard local to FSWidget. It's only
called from there, so no need to make it global.
Diffstat (limited to 'smglobals.cpp')
-rw-r--r-- | smglobals.cpp | 4 |
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()); |