mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 21:43:03 +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),
|
_hasShown(false),
|
||||||
_lastGeometry() {
|
_lastGeometry() {
|
||||||
|
|
||||||
# ifndef LINUX
|
|
||||||
setDockOptions(QMainWindow::ForceTabbedDocks);
|
setDockOptions(QMainWindow::ForceTabbedDocks);
|
||||||
# endif
|
|
||||||
Application::getInstance()->installEventFilter(this);
|
Application::getInstance()->installEventFilter(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -55,7 +53,6 @@ bool ToolWindow::event(QEvent* event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
bool ToolWindow::eventFilter(QObject* sender, QEvent* event) {
|
bool ToolWindow::eventFilter(QObject* sender, QEvent* event) {
|
||||||
# ifndef LINUX
|
|
||||||
switch (event->type()) {
|
switch (event->type()) {
|
||||||
case QEvent::WindowStateChange:
|
case QEvent::WindowStateChange:
|
||||||
if (Application::getInstance()->getWindow()->isMinimized()) {
|
if (Application::getInstance()->getWindow()->isMinimized()) {
|
||||||
|
@ -81,7 +78,6 @@ bool ToolWindow::eventFilter(QObject* sender, QEvent* event) {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
# endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ToolWindow::onChildVisibilityUpdated(bool visible) {
|
void ToolWindow::onChildVisibilityUpdated(bool visible) {
|
||||||
|
|
Loading…
Reference in a new issue