Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
48bdf106
Commit
48bdf106
authored
May 15, 2009
by
Daniel Molkentin
Browse files
welcome screen: fix prev tip for good
parent
900ec2aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/welcomemode.cpp
View file @
48bdf106
...
...
@@ -321,7 +321,7 @@ void WelcomeMode::slotNextTip()
void
WelcomeMode
::
slotPrevTip
()
{
QStringList
tips
=
tipsOfTheDay
();
m_d
->
currentTip
=
tips
.
count
()
-
((
m_d
->
currentTip
-
1
)
%
tips
.
count
());
m_d
->
currentTip
=
((
m_d
->
currentTip
-
1
)
+
tips
.
count
())
%
tips
.
count
()
;
m_d
->
ui
.
didYouKnowTextBrowser
->
setText
(
tips
.
at
(
m_d
->
currentTip
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment