mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 04:44:11 +02:00
don't mess with tools window in this branch
This commit is contained in:
parent
3bc85c2531
commit
90f6b798b1
1 changed files with 0 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue