Re: code check needed
Aurelien Gateau <[email protected]>
| Newsgroups | gmane.comp.kde.gwenview |
|---|---|
| Message-ID | <3cacb4684608ad7e1121659fdc8efbdb@localhost> |
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? Aurélien ------------------------------------------------------------------------- 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 [email protected] https://lists.sourceforge.net/lists/listinfo/gwenview-general