From 8997b362919821fffad7bba4494940df06805cd9 Mon Sep 17 00:00:00 2001 From: atomaka Date: Sun, 18 Sep 2011 04:28:14 -0400 Subject: [PATCH] Use OptinalDependencies for loading LibQTip. --- ChoreTracker.lua | 2 -- ChoreTracker.toc | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ChoreTracker.lua b/ChoreTracker.lua index 1b9949a..fe1e847 100644 --- a/ChoreTracker.lua +++ b/ChoreTracker.lua @@ -70,8 +70,6 @@ function core:OnInitialize() --[[LibStub('AceConfigRegistry-3.0'):RegisterOptionsTable('ChoreTracker', options) local ACD = LibStub('AceConfigDialog-3.0') ACD:AddToBlizOptions('ChoreTracker', 'ChoreTracker')]]-- - - LoadAddOn('LibQTip-1.0') end function core:OnEnable() diff --git a/ChoreTracker.toc b/ChoreTracker.toc index ceecf09..bc8e7f9 100644 --- a/ChoreTracker.toc +++ b/ChoreTracker.toc @@ -5,6 +5,7 @@ ## Notes: Reminding you to do your chores just like your mother. ## DefaultState: enabled ## SavedVariables: ChoreTrackerDB +## OptionalDeps: LibQTip-1.0 Libs\LibStub\LibStub.lua Libs\AceAddon-3.0\AceAddon-3.0.xml