summaryrefslogtreecommitdiffstats
path: root/tests/auto/widgets/util/qundostack/tst_qundostack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/widgets/util/qundostack/tst_qundostack.cpp')
-rw-r--r--tests/auto/widgets/util/qundostack/tst_qundostack.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/auto/widgets/util/qundostack/tst_qundostack.cpp b/tests/auto/widgets/util/qundostack/tst_qundostack.cpp
index 4d47ed4f58..9b48dc7798 100644
--- a/tests/auto/widgets/util/qundostack/tst_qundostack.cpp
+++ b/tests/auto/widgets/util/qundostack/tst_qundostack.cpp
@@ -247,7 +247,9 @@ private slots:
void macroBeginEnd();
void compression();
void undoLimit();
+#ifndef QT_NO_PROCESS
void commandTextFormat();
+#endif
void separateUndoText();
};
@@ -2964,6 +2966,7 @@ void tst_QUndoStack::undoLimit()
true); // redoChanged
}
+#ifndef QT_NO_PROCESS
void tst_QUndoStack::commandTextFormat()
{
QString binDir = QLibraryInfo::location(QLibraryInfo::BinariesPath);
@@ -3001,6 +3004,7 @@ void tst_QUndoStack::commandTextFormat()
qApp->removeTranslator(&translator);
}
+#endif
void tst_QUndoStack::separateUndoText()
{