| Summary: | Option "Hide toolbar in fullscreen mode" does not hide the toolbar in fullscreen mode | ||
|---|---|---|---|
| Product: | [Applications] digikam | Reporter: | Tung NGUYEN <ntung> |
| Component: | Showfoto-Setup | Assignee: | Digikam Developers <digikam-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | caulier.gilles, ntung |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Compiled Sources | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 7.6.0 | |
| Sentry Crash Report: | |||
|
Description
Tung NGUYEN
2005-09-01 12:27:26 UTC
SVN commit 455800 by cgilles:
BugFix : Hide properly ToolBar in FullScreen mode.
CCBUG: 111876
M +6 -3 showfoto.cpp
--- trunk/extragear/graphics/digikam/showfoto/showfoto.cpp #455799:455800
@@ -941,11 +941,14 @@
if (!m_showBarAction->isChecked())
m_bar->show();
- QObject* obj = child("mainToolBar","KToolBar");
+ QObject* obj = child("ToolBar","KToolBar");
if (obj)
{
KToolBar* toolBar = static_cast<KToolBar*>(obj);
- toolBar->show();
+ if (m_fullScreenAction->isPlugged(toolBar))
+ m_fullScreenAction->unplug(toolBar);
+ if (toolBar->isHidden())
+ toolBar->show();
}
m_fullScreen = false;
@@ -965,7 +968,7 @@
m_fullScreenAction->plug(m_bar);
}
- QObject* obj = child("mainToolBar","KToolBar");
+ QObject* obj = child("ToolBar","KToolBar");
if (obj)
{
KToolBar* toolBar = static_cast<KToolBar*>(obj);
*** Bug has been marked as fixed ***. |