don't mess with tools window in this branch

This commit is contained in:
Seth Alves 2015-03-12 10:11:37 -07:00
parent 3bc85c2531
commit 90f6b798b1

View file

@ -22,9 +22,7 @@ ToolWindow::ToolWindow(QWidget* parent) :
_hasShown(false),
_lastGeometry() {
# ifndef LINUX
setDockOptions(QMainWindow::ForceTabbedDocks);
# endif
Application::getInstance()->installEventFilter(this);
}
@ -55,7 +53,6 @@ bool ToolWindow::event(QEvent* event) {
}
bool ToolWindow::eventFilter(QObject* sender, QEvent* event) {
# ifndef LINUX
switch (event->type()) {
case QEvent::WindowStateChange:
if (Application::getInstance()->getWindow()->isMinimized()) {
@ -81,7 +78,6 @@ bool ToolWindow::eventFilter(QObject* sender, QEvent* event) {
break;
}
return false;
# endif
}
void ToolWindow::onChildVisibilityUpdated(bool visible) {