[Konsole-devel] [Bug 81834] Command-line options -bg and -fg should be removed from the --help screens and return an "Unknown option" message seeing as they are not functional

Kurt V.Hindenburg kurt.hindenburg at kdemail.net
Thu Jan 27 05:48:38 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=81834         
kurt.hindenburg kdemail net changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED



------- Additional Comments From kurt.hindenburg kdemail net  2005-01-27 06:48 -------
CVS commit by hindenburg: 

BUG: 81834.  Add warnings about Qt options that are ignored.


  M +10 -0     main.cpp   1.283


--- kdebase/konsole/konsole/main.cpp  #1.282:1.283
 @ -228,4 +228,14  @ extern "C" int KDE_EXPORT kdemain(int ar
   TEWidget::setStandalone( true );
 
+  // The following Qt options have no effect; warn users.
+  if( qtargs->isSet("background") )
+      kdWarning() << "The Qt option -bg, --background has no effect." << endl;
+  if( qtargs->isSet("foreground") )
+      kdWarning() << "The Qt option -fg, --foreground has no effect." << endl;
+  if( qtargs->isSet("button") )
+      kdWarning() << "The Qt option -btn, --button has no effect." << endl;
+  if( qtargs->isSet("font") )
+      kdWarning() << "The Qt option -fn, --font has no effect." << endl;
+
 #ifdef COMPOSITE
   char *display = 0;



More information about the konsole-devel mailing list