Ticket #9258: music-main-mingw.diff
File music-main-mingw.diff, 1.4 KB (added by , 13 years ago) |
---|
-
mythplugins/mythmusic/mythmusic/main.cpp
272 272 { 273 273 loadMusic(); 274 274 275 #ifndef USING_MINGW 275 276 MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack(); 276 277 277 278 Ripper *rip = new Ripper(mainStack, chooseCD()); … … 284 285 QObject::connect(rip, SIGNAL(ripFinished()), 285 286 gMusicData, SLOT(reloadMusic()), 286 287 Qt::QueuedConnection); 288 #endif 287 289 } 288 290 289 291 static void startImport(void) 290 292 { 291 293 loadMusic(); 292 294 295 #ifndef USING_MINGW 293 296 MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack(); 294 297 295 298 ImportMusicDialog *import = new ImportMusicDialog(mainStack); … … 302 305 QObject::connect(import, SIGNAL(importFinished()), 303 306 gMusicData, SLOT(reloadMusic()), 304 307 Qt::QueuedConnection); 308 #endif 305 309 } 306 310 307 311 static void MusicCallback(void *data, QString &selection) … … 396 400 { 397 401 loadMusic(); 398 402 403 #ifndef USING_MINGW 399 404 MythScreenStack *mainStack = GetMythMainWindow()->GetMainStack(); 400 405 401 406 Ripper *rip = new Ripper(mainStack, chooseCD()); … … 408 413 QObject::connect(rip, SIGNAL(ripFinished()), 409 414 gMusicData, SLOT(reloadMusic()), 410 415 Qt::QueuedConnection); 416 #endif 411 417 } 412 418 413 419 static void runScan(void)