Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all
Unified · Split
| @@ -1071,6 +1071,10 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) : · 1070 unmodified lines | ||
| 1071 | 1071 | // in the queue, which can be pretty damn frequent. Hence the idle function has a bunch |
| 1072 | 1072 | // of logic to abort early if it's being called too often. |
| 1073 | 1073 | _idleTimer->start(0); |
| 1074 | + | |
| 1075 | + // After all of the constructor is completed, then set firstRun to false. | |
| 1076 | + Setting::Handle<bool> firstRun{ Settings::firstRun, true }; | |
| 1077 | + firstRun.set(false); | |
| 1074 | 1078 | } |
| 1075 | 1079 | |
| 1076 | 1080 | |
| @@ -1088,11 +1092,6 @@ void Application::checkChangeCursor() { · 11 unmodified lines | ||
| 1088 | 1092 | |
| 1089 | 1093 | _cursorNeedsChanging = false; |
| 1090 | 1094 | } |
| 1091 | − | |
| 1092 | − | |
| 1093 | − // After all of the constructor is completed, then set firstRun to false. | |
| 1094 | − Setting::Handle<bool> firstRun{ Settings::firstRun, true }; | |
| 1095 | − firstRun.set(false); | |
| 1096 | 1095 | } |
| 1097 | 1096 | |
| 1098 | 1097 | void Application::showCursor(const QCursor& cursor) { |