History

move firstRun.set() to correct place

Brad Hefta-Gaub committed 10 years ago

Commit 65aae421 parent 85272a81 file · +4 −5Browse files

Showing the changes to interface/src/Application.cpp (1 of 1 file). Show all

Unified · Split

interface/src/Application.cpp+4−5
@@ -1071,6 +1071,10 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) : · 1070 unmodified lines
1071 // in the queue, which can be pretty damn frequent. Hence the idle function has a bunch1071 // in the queue, which can be pretty damn frequent. Hence the idle function has a bunch
1072 // of logic to abort early if it's being called too often.1072 // of logic to abort early if it's being called too often.
1073 _idleTimer->start(0);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 _cursorNeedsChanging = false;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
1098void Application::showCursor(const QCursor& cursor) {1097void Application::showCursor(const QCursor& cursor) {

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t