summaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/floating-behavior.cpp
diff options
context:
space:
mode:
authorEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 13:55:58 +0000
committerEmmanuel Gil Peyrot <linkmauve@linkmauve.fr>2018-06-19 13:55:58 +0000
commit884fe02952017ac219cd23f9407d27ed4d8a8620 (patch)
treea86d66e240ae1e72007ba75b23757c71d5a9a28c /src/ui/dialog/floating-behavior.cpp
parentRun clang-tidy’s modernize-use-emplace pass. (diff)
downloadinkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.tar.gz
inkscape-884fe02952017ac219cd23f9407d27ed4d8a8620.zip
Run clang-tidy’s modernize-redundant-void-arg pass.
Diffstat (limited to 'src/ui/dialog/floating-behavior.cpp')
-rw-r--r--src/ui/dialog/floating-behavior.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/dialog/floating-behavior.cpp b/src/ui/dialog/floating-behavior.cpp
index 0cc3af606..dccbd76b7 100644
--- a/src/ui/dialog/floating-behavior.cpp
+++ b/src/ui/dialog/floating-behavior.cpp
@@ -62,7 +62,7 @@ FloatingBehavior::FloatingBehavior(Dialog &dialog) :
* zero so that the transition happens instantaneously. This occurs on
* windows as opacity changes cause flicker there.
*/
-void FloatingBehavior::_focus_event (void)
+void FloatingBehavior::_focus_event ()
{
Inkscape::Preferences *prefs = Inkscape::Preferences::get();
_steps = 0;
@@ -96,7 +96,7 @@ void FloatingBehavior::_focus_event (void)
* the opacity half way to the goal until it runs out of steps, and then
* it just forces the goal.
*/
-bool FloatingBehavior::_trans_timer (void) {
+bool FloatingBehavior::_trans_timer () {
// printf("Go go gadget timer: %d\n", _steps);
if (_steps == 0) {
if (_dialog_active.get_value()) {