[rkward-cvs] SF.net SVN: rkward: [1421] trunk/rkward/rkward/main.cpp
tfry at users.sourceforge.net
tfry at users.sourceforge.net
Wed Feb 21 14:27:20 UTC 2007
Revision: 1421
http://svn.sourceforge.net/rkward/?rev=1421&view=rev
Author: tfry
Date: 2007-02-21 06:27:20 -0800 (Wed, 21 Feb 2007)
Log Message:
-----------
Specifing the debug flags as a binary wasn't really useable, ever
Modified Paths:
--------------
trunk/rkward/rkward/main.cpp
Modified: trunk/rkward/rkward/main.cpp
===================================================================
--- trunk/rkward/rkward/main.cpp 2007-02-21 14:17:51 UTC (rev 1420)
+++ trunk/rkward/rkward/main.cpp 2007-02-21 14:27:20 UTC (rev 1421)
@@ -73,7 +73,7 @@
{
{ "+[File]", I18N_NOOP ("file to open"), 0 },
{ "debug-level <level>", I18N_NOOP ("Verbosity of debug messages (0-5)"), "2"},
- { "debug-flags <flags>", I18N_NOOP ("Mask for components to debug as a binary number (see debug.h)"), "1111111111111" },
+ { "debug-flags <flags>", I18N_NOOP ("Mask for components to debug (see debug.h)"), "8191" },
{ 0, 0, 0 }
// INSERT YOUR COMMANDLINE OPTIONS HERE
};
@@ -110,8 +110,7 @@
} else {
KCmdLineArgs *args = KCmdLineArgs::parsedArgs();
RK_Debug_Level = 5 - QString (args->getOption ("debug-level")).toInt ();
- RK_Debug_Flags = QString (args->getOption ("debug-flags")).toInt (0, 2);
- qDebug ("Debug-flags as decimal: %d", RK_Debug_Flags);
+ RK_Debug_Flags = QString (args->getOption ("debug-flags")).toInt ();
KURL *open_url = 0;
if (args->count ()) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the rkward-tracker
mailing list