Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qt-creator
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Hunger
qt-creator
Commits
5a482ace
Commit
5a482ace
authored
Sep 29, 2009
by
Oswald Buddenhagen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no contractions, please. and loosers are losers. :D
parent
95caceb2
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
6 additions
and
6 deletions
+6
-6
src/app/main.cpp
src/app/main.cpp
+1
-1
src/libs/extensionsystem/pluginspec.cpp
src/libs/extensionsystem/pluginspec.cpp
+1
-1
src/plugins/coreplugin/dialogs/saveitemsdialog.cpp
src/plugins/coreplugin/dialogs/saveitemsdialog.cpp
+1
-1
src/plugins/coreplugin/filemanager.cpp
src/plugins/coreplugin/filemanager.cpp
+2
-2
src/plugins/projectexplorer/corelistenercheckingforrunningbuild.cpp
...s/projectexplorer/corelistenercheckingforrunningbuild.cpp
+1
-1
No files found.
src/app/main.cpp
View file @
5a482ace
...
@@ -284,7 +284,7 @@ int main(int argc, char **argv)
...
@@ -284,7 +284,7 @@ int main(int argc, char **argv)
}
}
if
(
!
coreplugin
)
{
if
(
!
coreplugin
)
{
QString
nativePaths
=
QDir
::
toNativeSeparators
(
pluginPaths
.
join
(
QLatin1String
(
","
)));
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
));
displayError
(
msgCoreLoadFailure
(
reason
));
return
1
;
return
1
;
}
}
...
...
src/libs/extensionsystem/pluginspec.cpp
View file @
5a482ace
...
@@ -793,7 +793,7 @@ bool PluginSpecPrivate::loadLibrary()
...
@@ -793,7 +793,7 @@ bool PluginSpecPrivate::loadLibrary()
IPlugin
*
pluginObject
=
qobject_cast
<
IPlugin
*>
(
loader
.
instance
());
IPlugin
*
pluginObject
=
qobject_cast
<
IPlugin
*>
(
loader
.
instance
());
if
(
!
pluginObject
)
{
if
(
!
pluginObject
)
{
hasError
=
true
;
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
();
loader
.
unload
();
return
false
;
return
false
;
}
}
...
...
src/plugins/coreplugin/dialogs/saveitemsdialog.cpp
View file @
5a482ace
...
@@ -52,7 +52,7 @@ SaveItemsDialog::SaveItemsDialog(QWidget *parent,
...
@@ -52,7 +52,7 @@ SaveItemsDialog::SaveItemsDialog(QWidget *parent,
:
QDialog
(
parent
)
:
QDialog
(
parent
)
{
{
m_ui
.
setupUi
(
this
);
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
)
->
setDefault
(
true
);
m_ui
.
buttonBox
->
button
(
QDialogButtonBox
::
Save
)
->
setFocus
(
Qt
::
TabFocusReason
);
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
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,
...
@@ -302,8 +302,8 @@ QList<IFile *> FileManager::saveModifiedFiles(const QList<IFile *> &files,
static
QMessageBox
::
StandardButton
skipFailedPrompt
(
QWidget
*
parent
,
const
QString
&
fileName
)
static
QMessageBox
::
StandardButton
skipFailedPrompt
(
QWidget
*
parent
,
const
QString
&
fileName
)
{
{
return
QMessageBox
::
question
(
parent
,
return
QMessageBox
::
question
(
parent
,
FileManager
::
tr
(
"Can
'
t save file"
),
FileManager
::
tr
(
"Can
no
t save file"
),
FileManager
::
tr
(
"Can
't save changes to '%1'. Do you want to continue and lo
ose your changes?"
).
arg
(
fileName
),
FileManager
::
tr
(
"Can
not save changes to '%1'. Do you want to continue and l
ose your changes?"
).
arg
(
fileName
),
QMessageBox
::
YesToAll
|
QMessageBox
::
Yes
|
QMessageBox
::
No
,
QMessageBox
::
YesToAll
|
QMessageBox
::
Yes
|
QMessageBox
::
No
,
QMessageBox
::
No
);
QMessageBox
::
No
);
}
}
...
...
src/plugins/projectexplorer/corelistenercheckingforrunningbuild.cpp
View file @
5a482ace
...
@@ -46,7 +46,7 @@ bool CoreListenerCheckingForRunningBuild::coreAboutToClose()
...
@@ -46,7 +46,7 @@ bool CoreListenerCheckingForRunningBuild::coreAboutToClose()
if
(
m_manager
->
isBuilding
())
{
if
(
m_manager
->
isBuilding
())
{
QMessageBox
box
;
QMessageBox
box
;
QPushButton
*
closeAnyway
=
box
.
addButton
(
tr
(
"Cancel Build && Close"
),
QMessageBox
::
AcceptRole
);
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
.
setDefaultButton
(
cancelClose
);
box
.
setWindowTitle
(
tr
(
"Close Qt Creator?"
));
box
.
setWindowTitle
(
tr
(
"Close Qt Creator?"
));
box
.
setText
(
tr
(
"A project is currently being built."
));
box
.
setText
(
tr
(
"A project is currently being built."
));
...
...
Write
Preview
Markdown
is supported
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