[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdebase/apps/kdialog
From:       Patrick Spendrin <ps_ml () gmx ! de>
Date:       2008-09-02 15:10:05
Message-ID: 1220368205.374445.15098.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 856290 by sengels:

small compile fix

 M  +2 -2      kdialog.cpp  


--- trunk/KDE/kdebase/apps/kdialog/kdialog.cpp #856289:856290
@@ -119,12 +119,12 @@
     WId winid = 0;
     bool attach = args->isSet("attach");
     if(attach) {
-        winid = args->getOption("attach").toLong(&attach, 0);  //C style parsing.  \
If the string begins with "0x", base 16 is used; if the string begins with "0", base \
8 is used; otherwise, base 10 is used. +        winid = \
reinterpret_cast<WId>(args->getOption("attach").toLong(&attach, 0));  //C style \
parsing.  If the string begins with "0x", base 16 is used; if the string begins with \
"0", base 8 is used; otherwise, base 10 is used.  } else if(args->isSet("embed")) {
         /* KDialog originally used --embed for attaching the dialog box.  However \
                this is misleading and so we changed to --attach.
          * For consistancy, we silently map --embed to --attach */
         attach = true;
-        winid = args->getOption("embed").toLong(&attach, 0);  //C style parsing.  If \
the string begins with "0x", base 16 is used; if the string begins with "0", base 8 \
is used; otherwise, base 10 is used. +        winid = \
reinterpret_cast<WId>(args->getOption("embed").toLong(&attach, 0));  //C style \
parsing.  If the string begins with "0x", base 16 is used; if the string begins with \
"0", base 8 is used; otherwise, base 10 is used.  }
 
     if (printWId || attach)


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic