~ubuntu-branches/ubuntu/edgy/muse/edgy

« back to all changes in this revision

Viewing changes to muse/conf.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Kobras
  • Date: 2006-01-03 20:18:47 UTC
  • mfrom: (1.1.5 upstream)
  • Revision ID: james.westby@ubuntu.com-20060103201847-r9poqt6y5gu9hnji
Tags: 0.7.1+0.7.2pre5-1
* New upstream version.
* Updated patches:
  + [20_allow_system_timer]
    Rediffed for 0.7.2pre5.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
//=========================================================
2
2
//  MusE
3
3
//  Linux Music Editor
4
 
//  $Id: conf.cpp,v 1.33.2.4 2005/08/14 21:47:31 spamatica Exp $
 
4
//  $Id: conf.cpp,v 1.33.2.5 2006/01/01 20:51:55 spamatica Exp $
5
5
//
6
6
//  (C) Copyright 1999-2003 Werner Schweer (ws@seh.de)
7
7
//=========================================================
625
625
static void probeMachineSpecificConfiguration()
626
626
      {
627
627
      // set a default help browser (crude way to find out)
628
 
      if (!system("which konqueror"))
 
628
      if (!system("which konqueror > /dev/null"))
629
629
           {
630
630
           config.helpBrowser = QString("konqueror");
631
631
           }
632
 
      else if (!system("which opera"))
 
632
      else if (!system("which opera > /dev/null"))
633
633
           {
634
634
           config.helpBrowser = QString("opera");
635
635
           }
636
 
      else if (!system("which mozilla-firefox"))
 
636
      else if (!system("which mozilla-firefox > /dev/null"))
637
637
           {
638
638
           config.helpBrowser = QString("mozilla-firefox");
639
639
           }
640
 
      else if (!system("which firefox"))
 
640
      else if (!system("which firefox > /dev/null"))
641
641
           {
642
642
           config.helpBrowser = QString("firefox");
643
643
           }
644
 
      else if (!system("which mozilla"))
 
644
      else if (!system("which mozilla > /dev/null"))
645
645
           {
646
646
           config.helpBrowser = QString("mozilla");
647
647
           }