mirror of
https://invent.kde.org/system/dolphin
synced 2024-09-20 00:41:23 +00:00
Use c style parsing of embed winid, to allow numbers like 0x
svn path=/trunk/KDE/kdebase/apps/; revision=848338
This commit is contained in:
parent
43fc3b79b7
commit
e7a352224f
|
@ -126,7 +126,7 @@ static int directCommand(KCmdLineArgs *args)
|
|||
WId id = 0;
|
||||
if (embed) {
|
||||
bool ok;
|
||||
long l = QString(args->getOption("embed")).toLong(&ok);
|
||||
long l = QString(args->getOption("embed")).toLong(&ok,0);
|
||||
if (ok)
|
||||
id = (WId)l;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue