Ignore:
Timestamp:
May 3, 2016, 5:25:45 PM (9 years ago)
Author:
Silvan Scherrer
Message:

smplayer: update trunk to version 16.4

Location:
smplayer/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • smplayer/trunk

  • smplayer/trunk/src/main.cpp

    r165 r176  
    11/*  smplayer, GUI front-end for mplayer.
    2     Copyright (C) 2006-2014 Ricardo Villalba <rvm@users.sourceforge.net>
     2    Copyright (C) 2006-2016 Ricardo Villalba <rvm@users.sourceforge.net>
    33
    44    This program is free software; you can redistribute it and/or modify
     
    2020#include "smplayer.h"
    2121
     22#include <QDir>
     23
    2224int main( int argc, char ** argv )
    2325{
     
    3133
    3234        a.setQuitOnLastWindowClosed(false);
     35       
     36#ifdef Q_OS_WIN
     37        // Change the working directory to the application path
     38        QDir::setCurrent(a.applicationDirPath());
     39#endif
    3340
    3441#if QT_VERSION >= 0x040400
Note: See TracChangeset for help on using the changeset viewer.