mirror of https://github.com/odrling/Aegisub
Kill FrameMain::HasASSDraw as it's no longer used
Originally committed to SVN as r5555.
This commit is contained in:
parent
626df4db05
commit
5d07756838
|
@ -574,15 +574,6 @@ bool FrameMain::LoadList(wxArrayString list) {
|
||||||
return subs.size() || audio.size() || video.size();
|
return subs.size() || audio.size() || video.size();
|
||||||
}
|
}
|
||||||
|
|
||||||
bool FrameMain::HasASSDraw() {
|
|
||||||
#ifdef __WINDOWS__
|
|
||||||
wxFileName fn(StandardPaths::DecodePath("?data/ASSDraw3.exe"));
|
|
||||||
return fn.FileExists();
|
|
||||||
#else
|
|
||||||
return false;
|
|
||||||
#endif
|
|
||||||
}
|
|
||||||
|
|
||||||
static void autosave_timer_changed(wxTimer *timer, const agi::OptionValue &opt) {
|
static void autosave_timer_changed(wxTimer *timer, const agi::OptionValue &opt) {
|
||||||
int freq = opt.GetInt();
|
int freq = opt.GetInt();
|
||||||
if (freq <= 0) {
|
if (freq <= 0) {
|
||||||
|
|
|
@ -141,8 +141,6 @@ public:
|
||||||
FrameMain(wxArrayString args);
|
FrameMain(wxArrayString args);
|
||||||
~FrameMain();
|
~FrameMain();
|
||||||
|
|
||||||
bool HasASSDraw();
|
|
||||||
|
|
||||||
/// Set the status bar text
|
/// Set the status bar text
|
||||||
/// @param text New status bar text
|
/// @param text New status bar text
|
||||||
/// @param ms Time in milliseconds that the message should be visible
|
/// @param ms Time in milliseconds that the message should be visible
|
||||||
|
|
Loading…
Reference in New Issue