Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Graphics
Gwenview
Commits
6e5cdff7
Commit
6e5cdff7
authored
Jun 09, 2021
by
Laurent Montel
😁
Browse files
Fix clazy warning
parent
3aef056f
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/fullscreenbar.cpp
View file @
6e5cdff7
...
...
@@ -35,6 +35,9 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
// KF
#include <KLocalizedString>
#include <chrono>
using
namespace
std
::
chrono_literals
;
// Local
...
...
@@ -174,7 +177,7 @@ void FullScreenBar::setActivated(bool activated)
// Delay installation of event filter because switching to fullscreen
// cause a few window adjustments, which seems to generate unwanted
// mouse events, which cause the bar to slide in.
QTimer
::
singleShot
(
500
,
this
,
&
FullScreenBar
::
delayedInstallEventFilter
);
QTimer
::
singleShot
(
500
ms
,
this
,
&
FullScreenBar
::
delayedInstallEventFilter
);
adjustSize
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment