This version is quite broken...
RecentsMRL* rmrl = RecentsMRL::getInstance( p_intf );
QList<QString> l = rmrl->recents();
-#if QT_VERSION == 0x040500
- //Workaround for Qt bug #176201
- QList<QAction*> actions = recentsMenu->actions();
- for(int i = 0; i < actions.size(); ++i)
- actions.at(i)->deleteLater();
-#else
recentsMenu->clear();
-#endif
if( !l.size() )
{
#if ( QT_VERSION < 0x040300 )
# error Update your Qt version
#endif
+#if QT_VERSION == 0x040500
+# warning Please update Qt version to 4.5.1. This warning will become an error.
+#endif
enum {
QT_NORMAL_MODE = 0,