mirror of
https://github.com/overte-org/overte.git
synced 2025-07-24 02:04:01 +02:00
Style
This commit is contained in:
parent
e348f66151
commit
70ac93c20d
2 changed files with 2 additions and 2 deletions
|
@ -179,7 +179,7 @@ void ScriptEditorWindow::closeEvent(QCloseEvent *event) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void ScriptEditorWindow::updateScriptNameOrStatus() {
|
void ScriptEditorWindow::updateScriptNameOrStatus() {
|
||||||
ScriptEditorWidget* source = (ScriptEditorWidget*)QObject::sender();
|
ScriptEditorWidget* source = static_cast<ScriptEditorWidget*>(QObject::sender());
|
||||||
QString modifiedStar = (source->isModified()? "*" : "");
|
QString modifiedStar = (source->isModified()? "*" : "");
|
||||||
if (source->getScriptName().length() > 0) {
|
if (source->getScriptName().length() > 0) {
|
||||||
for (int i = 0; i < _ScriptEditorWindowUI->tabWidget->count(); i++){
|
for (int i = 0; i < _ScriptEditorWindowUI->tabWidget->count(); i++){
|
||||||
|
|
Loading…
Reference in a new issue