aboutsummaryrefslogtreecommitdiff
path: root/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp
diff options
context:
space:
mode:
authorZackaryWelch <welch.zackary@gmail.com>2018-06-04 15:04:12 -0400
committerZackaryWelch <welch.zackary@gmail.com>2018-06-04 15:04:12 -0400
commitf21911c0d6867d8c86ea644c95d913018868ac55 (patch)
tree278373d33b83beb3a1374ac4b0add02d9de32804 /src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp
parentAdded spellchecking per Hunspell, which is currently disabled. (diff)
downloadlumina-f21911c0d6867d8c86ea644c95d913018868ac55.tar.gz
lumina-f21911c0d6867d8c86ea644c95d913018868ac55.tar.bz2
lumina-f21911c0d6867d8c86ea644c95d913018868ac55.zip
Removed extra file and whitespace
Diffstat (limited to 'src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp')
-rw-r--r--src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp
index 3c775851..285cd1b9 100644
--- a/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp
+++ b/src-qt5/desktop-utils/lumina-textedit/PlainTextEditor.cpp
@@ -62,7 +62,7 @@ void PlainTextEditor::LoadSyntaxRule(QString type){
files[i].SetupDocument(this);
SYNTAX->loadRules(files[i]);
break;
- }else if(i==files.length()-1){
+ }else if(i==files.length()-1){
SyntaxFile dummy;
SYNTAX->loadRules(dummy);
}
@@ -364,7 +364,7 @@ void PlainTextEditor::fileChanged(){
text.append("\n");
text.append( tr("(Note: You will lose all currently-unsaved changes)") );
text.append("\n\n%1");
-
+
if(!update){
update = (QMessageBox::Yes == QMessageBox::question(this, tr("File Modified"),text.arg(currentFile()) , QMessageBox::Yes | QMessageBox::No, QMessageBox::No) );
}
bgstack15