summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2020-03-17 18:56:23 +0100
committerSlávek Banko <slavek.banko@axis.cz>2020-03-17 18:56:23 +0100
commite61fa2ecc3f7dcbc0486ee80134aff8d7dac1532 (patch)
treea64ae9645857b223d931f501f6a07c767a4d3676 /src
parent6d5cbbbea9dd0b8bafb91cdf13366b45da9c61d1 (diff)
downloadkstreamripper-e61fa2ecc3f7dcbc0486ee80134aff8d7dac1532.tar.gz
kstreamripper-e61fa2ecc3f7dcbc0486ee80134aff8d7dac1532.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>
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 );