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

List:       quanta
Subject:    Re: [Quanta] Cannot get "--unique" command line option to work
From:       Andras Mantia <amantia () kde ! org>
Date:       2007-05-12 7:17:52
Message-ID: 200705121017.52484.amantia () kde ! org
[Download RAW message or body]

[Attachment #2 (multipart/signed)]


On Friday 04 May 2007, Peter Ford wrote:
> As far as I can tell, the --unique is being ignored: a new Quanta IDE
> is opened whether the option is used or not.
> So "quanta --unique file.php" opens a second window with "file.php"
> AND all of the files which were opened the last time the environment
> was saved, but not the project.

I tested and this works for me.
The only requirement is that both instances should be started 
with --unique.
So if you start "quanta foo.php" and "quanta --unique bar.php", you will 
get two windows and this is normal. If for the first one you 
start "quanta --unique foo.php", the second one should reuse the first 
instance.
Can you test this?


> I also get the following messages when I close the new instance of
> quanta - maybe they provide a clue:
>
> QObject::disconnect: Unexpected null parameter
> QObject::connect: Cannot connect (null)::activePartChanged(
> KParts::Part * ) to KHTMLPart::slotActiveFrameChanged( KParts::Part *
> )
> QObject::disconnect: Unexpected null parameter
> QObject::connect: Cannot connect (null)::activePartChanged(
> KParts::Part * ) to KHTMLPart::slotActiveFrameChanged( KParts::Part *
> )

Unrelated, ignore it.

Andras

-- 
Quanta Plus developer - http://quanta.kdewebdev.org
K Desktop Environment - http://www.kde.org

["signature.asc" (application/pgp-signature)]

_______________________________________________
Quanta mailing list
Quanta@mail.kde.org
https://mail.kde.org/mailman/listinfo/quanta


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

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