~siretart/vlc/ubuntu

« back to all changes in this revision

Viewing changes to modules/gui/qt4/dialogs/help.cpp

  • Committer: Reinhard Tartler
  • Date: 2008-09-26 06:45:40 UTC
  • mto: (21.2.1 vlc-0.9.3)
  • mto: This revision was merged to the branch mainline in revision 23.
  • Revision ID: siretart@tauware.de-20080926064540-0sd8zwmig33ksmy4
Tags: upstream-ubuntu-0.9.3
Import upstream version 0.9.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
 * Help.cpp : Help and About dialogs
3
3
 ****************************************************************************
4
4
 * Copyright (C) 2007 the VideoLAN team
5
 
 * $Id$
 
5
 * $Id: dd5204231393131431a9c43b11bcc2b1eb19d678 $
6
6
 *
7
7
 * Authors: Jean-Baptiste Kempf <jb (at) videolan.org>
8
8
 *          Rémi Duraffort <ivoire (at) via.ecp.fr>
276
276
                                 qtr( "Select a directory..." ),
277
277
                                 qfu( config_GetHomeDir() ) );
278
278
 
279
 
        if( dest_dir != "" )
 
279
        if( !dest_dir.isEmpty() )
280
280
        {
281
 
            /*HACK: Qt4 isn't able to change the way OS deals with directories
282
 
              names. Windows doesn't add an ending separator so we might add it.
283
 
             */
284
 
            #if defined( WIN32 ) || defined( UNDER_CE )
285
 
            dest_dir += DIR_SEP;
286
 
            #endif
 
281
            dest_dir = toNativeSepNoSlash( dest_dir ) + DIR_SEP;
287
282
            msg_Dbg( p_intf, "Downloading to folder: %s", qtu( dest_dir ) );
288
283
            toggleVisible();
289
284
            update_Download( p_update, qtu( dest_dir ) );