Disable debug messages in release builds

Also correct / remove various debug messages
This commit is contained in:
Jonathan White 2022-03-22 15:09:53 -04:00
parent 097be1a5cd
commit 7d7c635423
5 changed files with 6 additions and 6 deletions

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();