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
Tobias Hunger
qt-creator
Commits
5a482ace
Commit
5a482ace
authored
Sep 29, 2009
by
Oswald Buddenhagen
Browse files
no contractions, please. and loosers are losers. :D
parent
95caceb2
Changes
5
Hide whitespace changes
Inline
Side-by-side
src/app/main.cpp
View file @
5a482ace
...
...
@@ -284,7 +284,7 @@ int main(int argc, char **argv)
}
if
(
!
coreplugin
)
{
QString
nativePaths
=
QDir
::
toNativeSeparators
(
pluginPaths
.
join
(
QLatin1String
(
","
)));
const
QString
reason
=
QCoreApplication
::
translate
(
"Application"
,
"Could
n'
t find 'Core.pluginspec' in %1"
).
arg
(
nativePaths
);
const
QString
reason
=
QCoreApplication
::
translate
(
"Application"
,
"Could
no
t find 'Core.pluginspec' in %1"
).
arg
(
nativePaths
);
displayError
(
msgCoreLoadFailure
(
reason
));
return
1
;
}
...
...
src/libs/extensionsystem/pluginspec.cpp
View file @
5a482ace
...
...
@@ -793,7 +793,7 @@ bool PluginSpecPrivate::loadLibrary()
IPlugin
*
pluginObject
=
qobject_cast
<
IPlugin
*>
(
loader
.
instance
());
if
(
!
pluginObject
)
{
hasError
=
true
;
errorString
=
QCoreApplication
::
translate
(
"PluginSpec"
,
"Plugin is not valid (does
n'
t derive from IPlugin)"
);
errorString
=
QCoreApplication
::
translate
(
"PluginSpec"
,
"Plugin is not valid (does
no
t derive from IPlugin)"
);
loader
.
unload
();
return
false
;
}
...
...
src/plugins/coreplugin/dialogs/saveitemsdialog.cpp
View file @
5a482ace
...
...
@@ -52,7 +52,7 @@ SaveItemsDialog::SaveItemsDialog(QWidget *parent,
:
QDialog
(
parent
)
{
m_ui
.
setupUi
(
this
);
QPushButton
*
discardButton
=
m_ui
.
buttonBox
->
addButton
(
tr
(
"Do
n'
t Save"
),
QDialogButtonBox
::
DestructiveRole
);
QPushButton
*
discardButton
=
m_ui
.
buttonBox
->
addButton
(
tr
(
"Do
no
t Save"
),
QDialogButtonBox
::
DestructiveRole
);
m_ui
.
buttonBox
->
button
(
QDialogButtonBox
::
Save
)
->
setDefault
(
true
);
m_ui
.
buttonBox
->
button
(
QDialogButtonBox
::
Save
)
->
setFocus
(
Qt
::
TabFocusReason
);
m_ui
.
buttonBox
->
button
(
QDialogButtonBox
::
Save
)
->
setMinimumWidth
(
130
);
// bad magic number to avoid resizing of button
...
...
src/plugins/coreplugin/filemanager.cpp
View file @
5a482ace
...
...
@@ -302,8 +302,8 @@ QList<IFile *> FileManager::saveModifiedFiles(const QList<IFile *> &files,
static
QMessageBox
::
StandardButton
skipFailedPrompt
(
QWidget
*
parent
,
const
QString
&
fileName
)
{
return
QMessageBox
::
question
(
parent
,
FileManager
::
tr
(
"Can
'
t save file"
),
FileManager
::
tr
(
"Can
'
t save changes to '%1'. Do you want to continue and lo
o
se your changes?"
).
arg
(
fileName
),
FileManager
::
tr
(
"Can
no
t save file"
),
FileManager
::
tr
(
"Can
no
t save changes to '%1'. Do you want to continue and lose your changes?"
).
arg
(
fileName
),
QMessageBox
::
YesToAll
|
QMessageBox
::
Yes
|
QMessageBox
::
No
,
QMessageBox
::
No
);
}
...
...
src/plugins/projectexplorer/corelistenercheckingforrunningbuild.cpp
View file @
5a482ace
...
...
@@ -46,7 +46,7 @@ bool CoreListenerCheckingForRunningBuild::coreAboutToClose()
if
(
m_manager
->
isBuilding
())
{
QMessageBox
box
;
QPushButton
*
closeAnyway
=
box
.
addButton
(
tr
(
"Cancel Build && Close"
),
QMessageBox
::
AcceptRole
);
QPushButton
*
cancelClose
=
box
.
addButton
(
tr
(
"Do
n'
t Close"
),
QMessageBox
::
RejectRole
);
QPushButton
*
cancelClose
=
box
.
addButton
(
tr
(
"Do
no
t Close"
),
QMessageBox
::
RejectRole
);
box
.
setDefaultButton
(
cancelClose
);
box
.
setWindowTitle
(
tr
(
"Close Qt Creator?"
));
box
.
setText
(
tr
(
"A project is currently being built."
));
...
...
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