Switch to unified view

a/src/qtgui/main.cpp b/src/qtgui/main.cpp
1
#ifndef lint
1
#ifndef lint
2
static char rcsid[] = "@(#$Id: main.cpp,v 1.71 2008-11-24 15:23:12 dockes Exp $ (C) 2005 J.F.Dockes";
2
static char rcsid[] = "@(#$Id: main.cpp,v 1.72 2008-12-12 11:00:27 dockes Exp $ (C) 2005 J.F.Dockes";
3
#endif
3
#endif
4
/*
4
/*
5
 *   This program is free software; you can redistribute it and/or modify
5
 *   This program is free software; you can redistribute it and/or modify
6
 *   it under the terms of the GNU General Public License as published by
6
 *   it under the terms of the GNU General Public License as published by
7
 *   the Free Software Foundation; either version 2 of the License, or
7
 *   the Free Software Foundation; either version 2 of the License, or
...
...
228
        case 't': op_flags |= OPT_t; break;
228
        case 't': op_flags |= OPT_t; break;
229
        }
229
        }
230
    b1: argc--; argv++;
230
    b1: argc--; argv++;
231
    }
231
    }
232
232
233
    // If -q was given, all remaining non-option args are concatenated
234
    // to the query. This is for the common case recoll -q x y z to
235
    // avoid needing quoting "x y z"
236
    if (op_flags & OPT_q)
237
  while (argc--) {
238
      question += " ";
239
      question += *argv--;
240
  }
241
233
    // Translation file for Qt
242
    // Translation file for Qt
234
    QTranslator qt( 0 );
243
    QTranslator qt( 0 );
235
    qt.load( QString( "qt_" ) + QTextCodec::locale(), "." );
244
    qt.load( QString( "qt_" ) + QTextCodec::locale(), "." );
236
    app.installTranslator( &qt );
245
    app.installTranslator( &qt );
237
246