summaryrefslogtreecommitdiff
path: root/src/frontend/displaywindow/cmodulechooserbar.cpp
diff options
context:
space:
mode:
authorRoberto C. Sanchez <roberto@connexer.com>2014-10-21 22:48:27 -0400
committerRoberto C. Sanchez <roberto@connexer.com>2014-10-21 22:48:27 -0400
commitdd2f7ce46df53f2c377c02d1bf4df8adcf092072 (patch)
tree51d4bd5d66a45a24784695c4e99b452b417dc3d1 /src/frontend/displaywindow/cmodulechooserbar.cpp
parentb954e6dbcceaba3b50aca624e1bddc6db4830829 (diff)
Imported Upstream version 2.3
Diffstat (limited to 'src/frontend/displaywindow/cmodulechooserbar.cpp')
-rw-r--r--src/frontend/displaywindow/cmodulechooserbar.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/frontend/displaywindow/cmodulechooserbar.cpp b/src/frontend/displaywindow/cmodulechooserbar.cpp
index fc891ad..a282c4b 100644
--- a/src/frontend/displaywindow/cmodulechooserbar.cpp
+++ b/src/frontend/displaywindow/cmodulechooserbar.cpp
@@ -22,6 +22,8 @@ CModuleChooserBar::CModuleChooserBar(QList<CSwordModuleInfo*> useModules, CSword
m_idCounter(0),
m_buttonLimit(-1) //-1 means no limit
{
+ setAllowedAreas(Qt::TopToolBarArea);
+ setFloatable(false);
//insert buttons if useModules != 0
QList<CSwordModuleInfo*>::iterator end_it = useModules.end();
for (QList<CSwordModuleInfo*>::iterator it(useModules.begin()); it != end_it; ++it) {