This commit is contained in:
Uwe Kindler 2019-11-22 21:42:05 +01:00
commit 490e853435
3 changed files with 4 additions and 4 deletions

View File

@ -66,7 +66,7 @@ else()
endif()
if(BUILD_STATIC)
add_library(qtadvanceddocking STATIC ${ads_SRCS})
set(ads_COMPILE_DEFINE ${ads_COMPILE_DEFINE} ADS_STATIC)
target_compile_definitions(qtadvanceddocking PUBLIC ADS_STATIC)
else()
add_library(qtadvanceddocking SHARED ${ads_SRCS})
set(ads_COMPILE_DEFINE ${ads_COMPILE_DEFINE} ADS_SHARED_EXPORT)

View File

@ -1,5 +1,5 @@
from .ads import ads
from ._version import *
from .._version import *
import inspect
@ -7,4 +7,4 @@ for name, member in inspect.getmembers(ads):
if not name.startswith('_'):
globals()[name] = member
del ads
del ads

View File

@ -525,8 +525,8 @@ void CDockAreaTabBar::closeTab(int Index)
{
return;
}
emit tabCloseRequested(Index);
Tab->hide();
emit tabCloseRequested(Index);
}