diff options
author | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-01-04 12:06:42 +0100 |
---|---|---|
committer | Jan-Marek Glogowski <glogow@fbihome.de> | 2017-01-17 16:08:47 +0100 |
commit | fdc612619c1c133353026166206cea18c48089a6 (patch) | |
tree | 900ab53bc8d88ed4ab4b375e8a80136401bc3145 /starmath | |
parent | 17bb38262471cf68167fa11ad875c2785f43a341 (diff) |
Refactor Scheduler to add Task class
Moves all the "task-specific" stuff into a Task class and just
keeps the "real" static Scheduler functions in the original
Scheduler class.
Change-Id: I9eb02d46e2bcf1abb06af5bab1fa0ee734d1984c
Diffstat (limited to 'starmath')
-rw-r--r-- | starmath/source/edit.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/starmath/source/edit.cxx b/starmath/source/edit.cxx index 43fc7557e7e2..af3e3e90a4af 100644 --- a/starmath/source/edit.cxx +++ b/starmath/source/edit.cxx @@ -101,12 +101,12 @@ SmEditWindow::SmEditWindow( SmCmdBoxWindow &rMyCmdBoxWin ) : SetBackground( GetSettings().GetStyleSettings().GetWindowColor() ); aModifyIdle.SetIdleHdl(LINK(this, SmEditWindow, ModifyTimerHdl)); - aModifyIdle.SetPriority(SchedulerPriority::LOWEST); + aModifyIdle.SetPriority(TaskPriority::LOWEST); if (!IsInlineEditEnabled()) { aCursorMoveIdle.SetIdleHdl(LINK(this, SmEditWindow, CursorMoveTimerHdl)); - aCursorMoveIdle.SetPriority(SchedulerPriority::LOWEST); + aCursorMoveIdle.SetPriority(TaskPriority::LOWEST); } // if not called explicitly the this edit window within the |