Disable debug messages in release builds

Also correct / remove various debug messages
This commit is contained in:
Jonathan White committed 2022-04-03 13:26:12 -04:00
1 parent 097be1a5cd
commit 7d7c635423
5 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -313,7 +313,7 @@ namespace Utils
// Other platforms understand UTF-8
if (clipProcess->write(text.toUtf8()) == -1) {
#endif
qDebug("Unable to write to process : %s", qPrintable(clipProcess->errorString()));
qWarning("Unable to write to process : %s", qPrintable(clipProcess->errorString()));
}
clipProcess->waitForBytesWritten();
clipProcess->closeWriteChannel();