Re: Cannot get "--unique" command line option to work

Andras Mantia <[email protected]>
Newsgroups gmane.comp.kde.devel.quanta.user
Message-ID <[email protected]>
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

_______________________________________________
Quanta mailing list
[email protected]
https://mail.kde.org/mailman/listinfo/quanta
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQBGRWogTQdfac6L/08RAmmgAKDnqLqBSoYqk0rN+1QpgFaXgAHRNQCgkd8P
os/Jx1Os/1Rv13ufYcIGCC4=
=jrLE
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.