diff options
Diffstat (limited to 'kftpgrabber/src/kftpbookmarks.cpp')
-rw-r--r-- | kftpgrabber/src/kftpbookmarks.cpp | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/kftpgrabber/src/kftpbookmarks.cpp b/kftpgrabber/src/kftpbookmarks.cpp index c117dd4..08422f4 100644 --- a/kftpgrabber/src/kftpbookmarks.cpp +++ b/kftpgrabber/src/kftpbookmarks.cpp @@ -808,7 +808,6 @@ void Manager::guiPopulateZeroconfMenu(TDEActionMenu *parentMenu) // Clear the menu parentMenu->popupMenu()->clear(); -#if KDE_IS_VERSION(3,4,0) // Populate TQValueList<DNSSD::RemoteService::Ptr> list = KFTPAPI::getInstance()->zeroConfInterface()->getServiceList(); @@ -826,11 +825,6 @@ void Manager::guiPopulateZeroconfMenu(TDEActionMenu *parentMenu) disabledAction->setEnabled(false); parentMenu->insert(disabledAction); } -#else - TDEAction *disabledAction = new TDEAction(i18n("<DNSSD Not Available>")); - disabledAction->setEnabled(false); - parentMenu->insert(disabledAction); -#endif } void Manager::guiPopulateWalletMenu(TDEActionMenu *parentMenu) @@ -933,13 +927,11 @@ void Manager::slotWalletExecuted() void Manager::slotZeroconfExecuted() { -#if KDE_IS_VERSION(3,4,0) // Get the sender KFTPZeroconfAction *action = (KFTPZeroconfAction*) TQObject::sender(); DNSSD::RemoteService::Ptr service = action->getSite(); KFTPAPI::getInstance()->mainWindow()->slotQuickConnect(service->serviceName(), service->hostName(), service->port()); -#endif } } |