diff options
author | Slávek Banko <slavek.banko@axis.cz> | 2020-03-17 18:56:23 +0100 |
---|---|---|
committer | Slávek Banko <slavek.banko@axis.cz> | 2020-03-17 18:56:23 +0100 |
commit | e61fa2ecc3f7dcbc0486ee80134aff8d7dac1532 (patch) | |
tree | a64ae9645857b223d931f501f6a07c767a4d3676 | |
parent | 6d5cbbbea9dd0b8bafb91cdf13366b45da9c61d1 (diff) | |
download | kstreamripper-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>
-rw-r--r-- | CMakeLists.txt | 2 | ||||
-rw-r--r-- | src/kstreamripper.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index b54825c..53f3fac 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -59,7 +59,7 @@ include( ConfigureChecks.cmake ) ###### global compiler settings -add_definitions( -DHAVE_CONFIG_H -UTQT_NO_ASCII_CAST ) +add_definitions( -DHAVE_CONFIG_H ) set( CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${TQT_CXX_FLAGS}" ) set( CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--no-undefined" ) 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 ); |