author | zecke <zecke> | 2004-07-17 17:48:36 (UTC) |
---|---|---|
committer | zecke <zecke> | 2004-07-17 17:48:36 (UTC) |
commit | 0f64024dc631d9043d2f6f4f6bcafaac7eddd545 (patch) (side-by-side diff) | |
tree | 1919517cd70c2b74caeee24cccb0ac239b867b74 | |
parent | 8cc200a72b547bb7e313cfa197c72f91dfe0c759 (diff) | |
download | opie-0f64024dc631d9043d2f6f4f6bcafaac7eddd545.zip opie-0f64024dc631d9043d2f6f4f6bcafaac7eddd545.tar.gz opie-0f64024dc631d9043d2f6f4f6bcafaac7eddd545.tar.bz2 |
Fix compiler warning about unused variable
-rw-r--r-- | core/launcher/launcher.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/launcher/launcher.cpp b/core/launcher/launcher.cpp index aa357ca..010a2e9 100644 --- a/core/launcher/launcher.cpp +++ b/core/launcher/launcher.cpp @@ -578,65 +578,65 @@ void Launcher::select( const AppLnk *appLnk ) if ( appLnk->type() == "Folder" ) { // No tr // Not supported: flat is simpler for the user } else { if ( appLnk->exec().isNull() ) { int i = QMessageBox::information(this,tr("No application"), tr("<p>No application is defined for this document." "<p>Type is %1.").arg(appLnk->type()), tr("OK"), tr("View as text"), 0, 0, 1); /* ### Fixme */ if ( i == 1 ) Global::execute("textedit",appLnk->file()); return; } tabs->setBusy(TRUE); emit executing( appLnk ); appLnk->execute(); } } void Launcher::properties( AppLnk *appLnk ) { if ( appLnk->type() == "Folder" ) { // No tr // Not supported: flat is simpler for the user } else { /* ### libqtopia FIXME also moving docLnks... */ LnkProperties prop(appLnk,0 ); QPEApplication::execDialog( &prop ); } } -void Launcher::storageChanged( const QList<FileSystem> &fs ) +void Launcher::storageChanged( const QList<FileSystem> & ) { // ### update combo boxes if we had a combo box for the storage type } void Launcher::systemMessage( const QCString &msg, const QByteArray &data) { QDataStream stream( data, IO_ReadOnly ); if ( msg == "busy()" ) { tb->startWait(); } else if ( msg == "notBusy(QString)" ) { QString app; stream >> app; tabs->setBusy(FALSE); tb->stopWait(app); } else if (msg == "applyStyle()") { tabs->currentView()->relayout(); } } // These are the update functions from the server void Launcher::typeAdded( const QString& type, const QString& name, const QPixmap& pixmap, const QPixmap& ) { tabs->newView( type, pixmap, name ); ids.append( type ); /* this will be called in applicationScanningProgress with value 100! */ // tb->refreshStartMenu(); static bool first = TRUE; if ( first ) { first = FALSE; tabs->categoryBar->showTab(type); |