Ticket #9258: music-main-mingw.diff

File music-main-mingw.diff, 1.4 KB (added by Lawrence Rust <lvr@…>, 10 years ago)
  • mythplugins/mythmusic/mythmusic/main.cpp

     
    272272{
    273273    loadMusic();
    274274
     275#ifndef USING_MINGW
    275276    MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
    276277
    277278    Ripper *rip = new Ripper(mainStack, chooseCD());
     
    284285    QObject::connect(rip, SIGNAL(ripFinished()),
    285286                     gMusicData, SLOT(reloadMusic()),
    286287                     Qt::QueuedConnection);
     288#endif
    287289}
    288290
    289291static void startImport(void)
    290292{
    291293    loadMusic();
    292294
     295#ifndef USING_MINGW
    293296    MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
    294297
    295298    ImportMusicDialog *import = new ImportMusicDialog(mainStack);
     
    302305    QObject::connect(import, SIGNAL(importFinished()),
    303306                     gMusicData, SLOT(reloadMusic()),
    304307                     Qt::QueuedConnection);
     308#endif
    305309}
    306310
    307311static void MusicCallback(void *data, QString &selection)
     
    396400{
    397401    loadMusic();
    398402
     403#ifndef USING_MINGW
    399404    MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack();
    400405
    401406    Ripper *rip = new Ripper(mainStack, chooseCD());
     
    408413    QObject::connect(rip, SIGNAL(ripFinished()),
    409414                     gMusicData, SLOT(reloadMusic()),
    410415                     Qt::QueuedConnection);
     416#endif
    411417}
    412418
    413419static void runScan(void)