summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-03-17 18:56:23 +0100
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-03-18 18:58:54 +0900
commit100ad9bdc292c71d327cbeb633eb9280bea783ac (patch)
treeb7d0d80feeeea595c0b3c29a4c57db79a1ed0804 /src
parentc2aeadd30ff54cdd7482cbc94e6c730657ebc376 (diff)
downloadkstreamripper-100ad9bdc292c71d327cbeb633eb9280bea783ac.tar.gz
kstreamripper-100ad9bdc292c71d327cbeb633eb9280bea783ac.zip
Fix unnecessary automatic ascii conversion.
The definition of -UTQT_NO_ASCII_CAST is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz> (cherry picked from commit e61fa2ecc3f7dcbc0486ee80134aff8d7dac1532)
Diffstat (limited to 'src')
-rw-r--r--src/kstreamripper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/kstreamripper.cpp b/src/kstreamripper.cpp
index 2cce434..bfcf09b 100644
--- a/src/kstreamripper.cpp
+++ b/src/kstreamripper.cpp
@@ -218,7 +218,7 @@ void KStreamRipper::serviceRemoved(DNSSD::RemoteService::Ptr srv)
void KStreamRipper::ripButtonClicked()
{
- if (TDEStandardDirs::findExe("streamripper")) {
+ if (!(TDEStandardDirs::findExe("streamripper").isEmpty())) {
ProcessListViewItem * ProcItem = (ProcessListViewItem*)m_streamsListView->currentItem();
ProcItem->getProcessController()->startRip(m_destEdit->text(), m_timeEdit->text());
m_ripButton->setEnabled( false );