Bugfix: GUI: Help messages already have a trailing newline, so don't add an extra one
This commit is contained in:
1 parent
8afa602f30
commit
d1ed09a764
1 file changed
+1
-1
@@ -124,7 +124,7 @@ HelpMessageDialog::~HelpMessageDialog()
|
|||||||
void HelpMessageDialog::printToConsole()
|
void HelpMessageDialog::printToConsole()
|
||||||
{
|
{
|
||||||
// On other operating systems, the expected action is to print the message to the console.
|
// On other operating systems, the expected action is to print the message to the console.
|
||||||
tfm::format(std::cout, "%s\n", qPrintable(text));
|
tfm::format(std::cout, "%s", qPrintable(text));
|
||||||
}
|
}
|
||||||
|
|
||||||
void HelpMessageDialog::showOrPrint()
|
void HelpMessageDialog::showOrPrint()
|
||||||
|
|||||||
Reference in new issue
Block a user