Fix some symbol naming conflicts that happen when including windows header files (taglib >1.7 brings them in for us).
This commit is contained in:
parent
456011d100
commit
8334484c1e
@ -47,6 +47,19 @@
|
||||
struct IWMDMMetaData;
|
||||
#endif
|
||||
|
||||
// Taglib pulls in some windows headers that #define all sorts of nasties.
|
||||
// Undef those here.
|
||||
#ifdef RemoveDirectory
|
||||
# undef RemoveDirectory
|
||||
#endif
|
||||
#ifdef AddJob
|
||||
# undef AddJob
|
||||
#endif
|
||||
#ifdef LoadIcon
|
||||
# undef LoadIcon
|
||||
#endif
|
||||
|
||||
|
||||
class SqlRow;
|
||||
|
||||
#ifdef HAVE_LIBLASTFM
|
||||
|
@ -125,11 +125,11 @@ SettingsDialog::SettingsDialog(BackgroundStreams* streams, QWidget* parent)
|
||||
#endif
|
||||
|
||||
// User interface
|
||||
QTreeWidgetItem* interface = AddCategory(tr("User interface"));
|
||||
AddPage(Page_GlobalShortcuts, new GlobalShortcutsSettingsPage(this), interface);
|
||||
AddPage(Page_GlobalSearch, new GlobalSearchSettingsPage(this), interface);
|
||||
AddPage(Page_SongInformation, new SongInfoSettingsPage(this), interface);
|
||||
AddPage(Page_Notifications, new NotificationsSettingsPage(this), interface);
|
||||
QTreeWidgetItem* iface = AddCategory(tr("User interface"));
|
||||
AddPage(Page_GlobalShortcuts, new GlobalShortcutsSettingsPage(this), iface);
|
||||
AddPage(Page_GlobalSearch, new GlobalSearchSettingsPage(this), iface);
|
||||
AddPage(Page_SongInformation, new SongInfoSettingsPage(this), iface);
|
||||
AddPage(Page_Notifications, new NotificationsSettingsPage(this), iface);
|
||||
|
||||
// Internet providers
|
||||
QTreeWidgetItem* providers = AddCategory(tr("Internet providers"));
|
||||
|
Loading…
x
Reference in New Issue
Block a user