New package: equalx - graphical interface for TeX/LaTeX equations OBS-URL: https://build.opensuse.org/request/show/96332 OBS-URL: https://build.opensuse.org/package/show/Publishing/equalx?expand=0&rev=1
51 lines
1.3 KiB
Diff
51 lines
1.3 KiB
Diff
Index: equalx-0.51/src/LatexEditor.cpp
|
|
===================================================================
|
|
--- equalx-0.51.orig/src/LatexEditor.cpp
|
|
+++ equalx-0.51/src/LatexEditor.cpp
|
|
@@ -207,6 +207,7 @@ bool LatexEditor::findAll(const QString
|
|
bool LatexEditor::findNext()
|
|
{
|
|
find(findExpr, findFlags);
|
|
+ return true;
|
|
}
|
|
|
|
bool LatexEditor::findPrevious()
|
|
@@ -214,6 +215,7 @@ bool LatexEditor::findPrevious()
|
|
findFlags = findFlags | QTextDocument::FindBackward;
|
|
|
|
find(findExpr, findFlags);
|
|
+ return true;
|
|
}
|
|
|
|
void LatexEditor::insertCompletion(const QString &completion)
|
|
Index: equalx-0.51/src/MainWindow.cpp
|
|
===================================================================
|
|
--- equalx-0.51.orig/src/MainWindow.cpp
|
|
+++ equalx-0.51/src/MainWindow.cpp
|
|
@@ -649,6 +649,7 @@ bool MainWindow::exportToDVI()
|
|
if(!status)
|
|
QMessageBox::critical(this, "Error", mess );
|
|
|
|
+ return true;
|
|
}
|
|
|
|
bool MainWindow::exportToGIF()
|
|
@@ -728,6 +729,8 @@ bool MainWindow::exportToTeX()
|
|
|
|
if(!status)
|
|
QMessageBox::critical(this, "Error", mess );
|
|
+
|
|
+ return true;
|
|
}
|
|
|
|
bool MainWindow::exportToROOT()
|
|
@@ -1018,7 +1021,7 @@ bool MainWindow::runCommand(const QStrin
|
|
else
|
|
qDebug() << "[Output]" << process.readAll();
|
|
|
|
-
|
|
+ return true;
|
|
}
|
|
|
|
void MainWindow::setupParser()
|