Changeset View
Changeset View
Standalone View
Standalone View
libs/ui/KisMainWindow.cpp
Context not available. | |||||
620 | { | 620 | { | ||
---|---|---|---|---|---|
621 | /** | 621 | /** | ||
622 | * If we are the last view of the window, Qt will not activate another tab | 622 | * If we are the last view of the window, Qt will not activate another tab | ||
623 | * before destroying tab/window. In ths case we should clear oll the dangling | 623 | * before destroying tab/window. In this case we should clear all the dangling | ||
624 | * pointers manually by setting the current view to null | 624 | * pointers manually by setting the current view to null | ||
625 | */ | 625 | */ | ||
626 | viewManager()->inputManager()->removeTrackedCanvas(view->canvasBase()); | 626 | viewManager()->inputManager()->removeTrackedCanvas(view->canvasBase()); | ||
Context not available. | |||||
2418 | * Dirty workaround for a bug in Qt (checked on Qt 5.6.1): | 2418 | * Dirty workaround for a bug in Qt (checked on Qt 5.6.1): | ||
2419 | * | 2419 | * | ||
2420 | * If you make a window "Show on top" and then switch to the tabbed mode | 2420 | * If you make a window "Show on top" and then switch to the tabbed mode | ||
2421 | * the window will contiue to be painted in its initial "mid-screen" | 2421 | * the window will continue to be painted in its initial "mid-screen" | ||
2422 | * position. It will persist here until you explicitly switch to its tab. | 2422 | * position. It will persist here until you explicitly switch to its tab. | ||
2423 | */ | 2423 | */ | ||
2424 | if (viewMode == QMdiArea::TabbedView) { | 2424 | if (viewMode == QMdiArea::TabbedView) { | ||
Context not available. |