Re: code check needed
Angelo Naselli <[email protected]>
| Newsgroups | gmane.comp.kde.gwenview |
|---|---|
| Message-ID | <[email protected]> |
Alle lunedì 25 giugno 2007, Aurelien Gateau ha scritto: > > On Mon, 25 Jun 2007 00:08:50 +0200, Angelo Naselli <[email protected]> wrote: > > Hi trying to fix http://qa.mandriva.com/show_bug.cgi?id=31395 > > I've thought a simple slot could have been added and > > MainWindow::renameFile() > > changed like below: > > void MainWindow::renameFile() { > > KURL url; > > if (mFileViewController->isVisible()) { > > KURL::List list = mFileViewController->selectedURLs(); > > Q_ASSERT(list.count()==1); > > if (list.count()!=1) return; > > url = list.first(); > > } else { > > url = mDocument->url(); > > } > > FileOperation::rename(url, this. this, SLOT(renamed(const QString &))); > > } > > > > But that does not compile, and i cannot see why by now. > > Any help? > > Can you attach the compiler output? Ehm, me hide :/ Ok sorry, i'll send you as soon as i'll be at home... Angelo ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Gwenview-general mailing list Gwenview-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org https://lists.sourceforge.net/lists/listinfo/gwenview-general
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) iD8DBQBGf847qEs9DA4DquARArQIAJ9OxTVkz8uwBsHsMLyaGTpBBz1GGwCdHGF0 y2vBwZs0Seg8DZQU/hQdPtA= =tobQ -----END PGP SIGNATURE-----