From f9e3e1d9fd7e8bc4b9c5b9385e4a2d4105498b5c Mon Sep 17 00:00:00 2001 From: Vojtech Bubnik Date: Thu, 21 Oct 2021 13:39:27 +0200 Subject: [PATCH] Fixed spelling error get_standart_duration -> get_standard_duration --- src/slic3r/GUI/NotificationManager.cpp | 2 +- src/slic3r/GUI/NotificationManager.hpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/slic3r/GUI/NotificationManager.cpp b/src/slic3r/GUI/NotificationManager.cpp index 40f5c31169..a984b6ba75 100644 --- a/src/slic3r/GUI/NotificationManager.cpp +++ b/src/slic3r/GUI/NotificationManager.cpp @@ -1509,7 +1509,7 @@ void NotificationManager::push_notification(NotificationType type, std::function callback, int timestamp) { - int duration = get_standart_duration(level); + int duration = get_standard_duration(level); push_notification_data({ type, level, duration, text, hypertext, callback }, timestamp); } diff --git a/src/slic3r/GUI/NotificationManager.hpp b/src/slic3r/GUI/NotificationManager.hpp index 2031586b8d..9adcc240d0 100644 --- a/src/slic3r/GUI/NotificationManager.hpp +++ b/src/slic3r/GUI/NotificationManager.hpp @@ -713,7 +713,7 @@ private: void sort_notifications(); // If there is some error notification active, then the "Export G-code" notification after the slicing is finished is suppressed. bool has_slicing_error_notification(); - size_t get_standart_duration(NotificationLevel level) + size_t get_standard_duration(NotificationLevel level) { switch (level) {