|
|
@ -263,6 +263,8 @@ GUI::~GUI() { |
|
|
|
} |
|
|
|
} |
|
|
|
if(systrayIcon) { |
|
|
|
if(systrayIcon) { |
|
|
|
delete systrayIcon; |
|
|
|
delete systrayIcon; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if(myTrayIconMenu) { |
|
|
|
delete myTrayIconMenu; |
|
|
|
delete myTrayIconMenu; |
|
|
|
} |
|
|
|
} |
|
|
|
delete tabs; |
|
|
|
delete tabs; |
|
|
@ -682,7 +684,7 @@ void GUI::on_actionOpen_triggered() { |
|
|
|
// the right addTorrent function, considering
|
|
|
|
// the right addTorrent function, considering
|
|
|
|
// the parameter type.
|
|
|
|
// the parameter type.
|
|
|
|
void GUI::processParams(const QString& params_str) { |
|
|
|
void GUI::processParams(const QString& params_str) { |
|
|
|
processParams(params_str.split(" ", QString::SkipEmptyParts)); |
|
|
|
processParams(params_str.split(" ", QString::SkipEmptyParts)); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
void GUI::processParams(const QStringList& params) { |
|
|
|
void GUI::processParams(const QStringList& params) { |
|
|
|