Skip to content
GitLab
Menu
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
3270c482
Commit
3270c482
authored
May 11, 2009
by
Oswald Buddenhagen
Browse files
typo & language fixes
parent
8457bd68
Changes
3
Hide whitespace changes
Inline
Side-by-side
src/plugins/perforce/perforceplugin.cpp
View file @
3270c482
...
...
@@ -661,7 +661,7 @@ void PerforcePlugin::updateActions()
m_submitAction
->
setEnabled
(
true
);
}
else
{
m_diffProjectAction
->
setEnabled
(
false
);
m_diffProjectAction
->
setText
(
tr
(
"Diff Current Project/Soluion"
));
m_diffProjectAction
->
setText
(
tr
(
"Diff Current Project/Solu
t
ion"
));
m_submitAction
->
setEnabled
(
false
);
}
m_diffAllAction
->
setEnabled
(
true
);
...
...
src/plugins/projectexplorer/projectexplorer.cpp
View file @
3270c482
...
...
@@ -438,7 +438,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
this
,
SLOT
(
updateRecentProjectMenu
()));
// unload action
m_unloadAction
=
new
QAction
(
tr
(
"
Unload
Project"
),
this
);
m_unloadAction
=
new
QAction
(
tr
(
"
Close
Project"
),
this
);
cmd
=
am
->
registerAction
(
m_unloadAction
,
Constants
::
UNLOAD
,
globalcontext
);
cmd
->
setAttribute
(
Core
::
Command
::
CA_UpdateText
);
cmd
->
setDefaultText
(
m_unloadAction
->
text
());
...
...
@@ -446,7 +446,7 @@ bool ProjectExplorerPlugin::initialize(const QStringList &arguments, QString *er
mproject
->
addAction
(
cmd
,
Constants
::
G_PROJECT_FILES
);
// unload session action
m_clearSession
=
new
QAction
(
tr
(
"
Unload
All Projects"
),
this
);
m_clearSession
=
new
QAction
(
tr
(
"
Close
All Projects"
),
this
);
cmd
=
am
->
registerAction
(
m_clearSession
,
Constants
::
CLEARSESSION
,
globalcontext
);
mfile
->
addAction
(
cmd
,
Core
::
Constants
::
G_FILE_PROJECT
);
msessionContextMenu
->
addAction
(
cmd
,
Constants
::
G_SESSION_FILES
);
...
...
@@ -1028,7 +1028,7 @@ void ProjectExplorerPlugin::restoreSession()
sessionToLoad
=
arg
;
arguments
.
removeOne
(
arg
);
if
(
debug
)
qDebug
()
<<
"Found session argument,
load
ing session"
<<
sessionToLoad
;
qDebug
()
<<
"Found session argument,
restor
ing session"
<<
sessionToLoad
;
break
;
}
}
...
...
@@ -1246,10 +1246,10 @@ void ProjectExplorerPlugin::updateActions()
m_unloadAction
->
setEnabled
(
m_currentProject
!=
0
);
if
(
m_currentProject
==
0
)
{
m_unloadAction
->
setText
(
tr
(
"
Unload
Project"
));
m_unloadAction
->
setText
(
tr
(
"
Close
Project"
));
m_buildAction
->
setText
(
tr
(
"Build Project"
));
}
else
{
m_unloadAction
->
setText
(
tr
(
"
Unload
Project
\"
%1
\"
"
).
arg
(
m_currentProject
->
name
()));
m_unloadAction
->
setText
(
tr
(
"
Close
Project
\"
%1
\"
"
).
arg
(
m_currentProject
->
name
()));
m_buildAction
->
setText
(
tr
(
"Build Project
\"
%1
\"
"
).
arg
(
m_currentProject
->
name
()));
}
...
...
src/plugins/projectexplorer/session.cpp
View file @
3270c482
...
...
@@ -615,7 +615,7 @@ bool SessionManager::loadImpl(const QString &fileName)
Q_ASSERT
(
!
fileName
.
isEmpty
());
if
(
debug
)
qDebug
()
<<
"SessionManager -
load
ing session "
<<
fileName
<<
" ..."
;
qDebug
()
<<
"SessionManager -
restor
ing session "
<<
fileName
<<
" ..."
;
bool
success
=
true
;
...
...
@@ -634,8 +634,8 @@ bool SessionManager::loadImpl(const QString &fileName)
emit
sessionUnloaded
();
m_file
=
new
SessionFile
;
if
(
!
m_file
->
load
(
fileName
))
{
QMessageBox
::
warning
(
0
,
tr
(
"Error while
load
ing session"
),
tr
(
"Could not
load
session %1"
).
arg
(
fileName
));
QMessageBox
::
warning
(
0
,
tr
(
"Error while
restor
ing session"
),
tr
(
"Could not
restore
session %1"
).
arg
(
fileName
));
success
=
false
;
}
// m_file->load() sets the m_file->startupProject
...
...
@@ -653,7 +653,7 @@ bool SessionManager::loadImpl(const QString &fileName)
}
if
(
debug
)
qDebug
()
<<
"SessionManager -
load
ing session returned "
<<
success
;
qDebug
()
<<
"SessionManager -
restor
ing session returned "
<<
success
;
if
(
success
)
emit
sessionLoaded
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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