summaryrefslogtreecommitdiff
authorzecke <zecke>2004-07-17 17:48:36 (UTC)
committer zecke <zecke>2004-07-17 17:48:36 (UTC)
commit0f64024dc631d9043d2f6f4f6bcafaac7eddd545 (patch) (unidiff)
tree1919517cd70c2b74caeee24cccb0ac239b867b74
parent8cc200a72b547bb7e313cfa197c72f91dfe0c759 (diff)
downloadopie-0f64024dc631d9043d2f6f4f6bcafaac7eddd545.zip
opie-0f64024dc631d9043d2f6f4f6bcafaac7eddd545.tar.gz
opie-0f64024dc631d9043d2f6f4f6bcafaac7eddd545.tar.bz2
Fix compiler warning about unused variable
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--core/launcher/launcher.cpp2
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 )
578 if ( appLnk->type() == "Folder" ) { // No tr 578 if ( appLnk->type() == "Folder" ) { // No tr
579 // Not supported: flat is simpler for the user 579 // Not supported: flat is simpler for the user
580 } else { 580 } else {
581 if ( appLnk->exec().isNull() ) { 581 if ( appLnk->exec().isNull() ) {
582 int i = QMessageBox::information(this,tr("No application"), 582 int i = QMessageBox::information(this,tr("No application"),
583 tr("<p>No application is defined for this document." 583 tr("<p>No application is defined for this document."
584 "<p>Type is %1.").arg(appLnk->type()), tr("OK"), tr("View as text"), 0, 0, 1); 584 "<p>Type is %1.").arg(appLnk->type()), tr("OK"), tr("View as text"), 0, 0, 1);
585 585
586 /* ### Fixme */ 586 /* ### Fixme */
587 if ( i == 1 ) 587 if ( i == 1 )
588 Global::execute("textedit",appLnk->file()); 588 Global::execute("textedit",appLnk->file());
589 589
590 return; 590 return;
591 } 591 }
592 tabs->setBusy(TRUE); 592 tabs->setBusy(TRUE);
593 emit executing( appLnk ); 593 emit executing( appLnk );
594 appLnk->execute(); 594 appLnk->execute();
595 } 595 }
596} 596}
597 597
598void Launcher::properties( AppLnk *appLnk ) 598void Launcher::properties( AppLnk *appLnk )
599{ 599{
600 if ( appLnk->type() == "Folder" ) { // No tr 600 if ( appLnk->type() == "Folder" ) { // No tr
601 // Not supported: flat is simpler for the user 601 // Not supported: flat is simpler for the user
602 } else { 602 } else {
603/* ### libqtopia FIXME also moving docLnks... */ 603/* ### libqtopia FIXME also moving docLnks... */
604 LnkProperties prop(appLnk,0 ); 604 LnkProperties prop(appLnk,0 );
605 605
606 QPEApplication::execDialog( &prop ); 606 QPEApplication::execDialog( &prop );
607 } 607 }
608} 608}
609 609
610void Launcher::storageChanged( const QList<FileSystem> &fs ) 610void Launcher::storageChanged( const QList<FileSystem> & )
611{ 611{
612 // ### update combo boxes if we had a combo box for the storage type 612 // ### update combo boxes if we had a combo box for the storage type
613} 613}
614 614
615void Launcher::systemMessage( const QCString &msg, const QByteArray &data) 615void Launcher::systemMessage( const QCString &msg, const QByteArray &data)
616{ 616{
617 QDataStream stream( data, IO_ReadOnly ); 617 QDataStream stream( data, IO_ReadOnly );
618 if ( msg == "busy()" ) { 618 if ( msg == "busy()" ) {
619 tb->startWait(); 619 tb->startWait();
620 } else if ( msg == "notBusy(QString)" ) { 620 } else if ( msg == "notBusy(QString)" ) {
621 QString app; 621 QString app;
622 stream >> app; 622 stream >> app;
623 tabs->setBusy(FALSE); 623 tabs->setBusy(FALSE);
624 tb->stopWait(app); 624 tb->stopWait(app);
625 } else if (msg == "applyStyle()") { 625 } else if (msg == "applyStyle()") {
626 tabs->currentView()->relayout(); 626 tabs->currentView()->relayout();
627 } 627 }
628} 628}
629 629
630// These are the update functions from the server 630// These are the update functions from the server
631void Launcher::typeAdded( const QString& type, const QString& name, 631void Launcher::typeAdded( const QString& type, const QString& name,
632 const QPixmap& pixmap, const QPixmap& ) 632 const QPixmap& pixmap, const QPixmap& )
633{ 633{
634 tabs->newView( type, pixmap, name ); 634 tabs->newView( type, pixmap, name );
635 ids.append( type ); 635 ids.append( type );
636 /* this will be called in applicationScanningProgress with value 100! */ 636 /* this will be called in applicationScanningProgress with value 100! */
637// tb->refreshStartMenu(); 637// tb->refreshStartMenu();
638 638
639 static bool first = TRUE; 639 static bool first = TRUE;
640 if ( first ) { 640 if ( first ) {
641 first = FALSE; 641 first = FALSE;
642 tabs->categoryBar->showTab(type); 642 tabs->categoryBar->showTab(type);