Show command line options as dialog when opened from debug window
On Linux/Mac the command-line options were printed to stderr when the button was pressed in the debug window, resulting in confusion. This is fixed in this commit by adding a separate method.
This commit is contained in:
@@ -103,7 +103,11 @@ namespace GUIUtil
|
||||
public:
|
||||
HelpMessageBox(QWidget *parent = 0);
|
||||
|
||||
void exec();
|
||||
/** Show message box or print help message to standard output, based on operating system. */
|
||||
void showOrPrint();
|
||||
|
||||
/** Print help message to console */
|
||||
void printToConsole();
|
||||
|
||||
private:
|
||||
QString header;
|
||||
|
||||
Reference in New Issue
Block a user