diff main/main.cpp @ 377:909cf273bed1 macness

Mac Dock menu uses same import-itunes-action as the File menu
author Dan Stowell <dan.stowell@eecs.qmul.ac.uk>
date Mon, 18 Oct 2010 13:24:38 +0100
parents ca9f27734349
children
line wrap: on
line diff
--- a/main/main.cpp	Fri Oct 15 11:07:11 2010 +0100
+++ b/main/main.cpp	Mon Oct 18 13:24:38 2010 +0100
@@ -220,12 +220,15 @@
     void setupDockMenu() {
         std::cerr << "SV adding mac dock menu" << std::endl;
         QMenu *dockMenu = new QMenu();
+        /*
         QStringList nowPlaying = iTunesNowPlaying();
         QString theText = nowPlaying.at(0);
         if (theText == ""){
             theText = "[[No current track in iTunes]]";
         }
         dockMenu->addAction(theText);
+        */
+        dockMenu->addAction(m_mainWindow->m_importITunesAction);
         qt_mac_set_dock_menu(dockMenu);
     }
 #endif