From 3c2c039f3a5bc02de6a532af3cf93875aae6f16f Mon Sep 17 00:00:00 2001 From: Matthew Budd Date: Sat, 7 Nov 2020 15:06:07 -0500 Subject: [PATCH] Added custom style sheet usage comment to command line help for Qt GUI. --- src/drivers/Qt/fceuWrapper.cpp | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/drivers/Qt/fceuWrapper.cpp b/src/drivers/Qt/fceuWrapper.cpp index e0430062..0ee1a16b 100644 --- a/src/drivers/Qt/fceuWrapper.cpp +++ b/src/drivers/Qt/fceuWrapper.cpp @@ -450,7 +450,7 @@ static void ShowUsage(const char *prog) puts ("--videolog c Calls mencoder to grab the video and audio streams to\n encode them. Check the documentation for more on this."); puts ("--mute {0|1} Mutes FCEUX while still passing the audio stream to\n mencoder during avi creation."); #endif - puts ("--style=KEY Use Qt GUI Style based on supplied key. Available style keys are:\n"); + puts ("--style=KEY Use Qt GUI Style based on supplied key. Available system style keys are:\n"); QStringList styleList = QStyleFactory::keys(); @@ -464,7 +464,10 @@ static void ShowUsage(const char *prog) printf("\n"); j=0; } } - printf("\n"); + printf("\n\n"); + printf(" Custom Qt stylesheets (.qss files) may be used by setting an\n"); + printf(" environment variable named FCEUX_QT_STYLESHEET equal to the \n"); + printf(" full (absolute) path to the qss file.\n"); puts(""); printf("Compiled with SDL version %d.%d.%d\n", SDL_MAJOR_VERSION, SDL_MINOR_VERSION, SDL_PATCHLEVEL );