Commit c0883b98 authored by Yuri Chornoivan's avatar Yuri Chornoivan
Browse files

Use URL with transport encryption

parent eedf1ca7
...@@ -61,7 +61,7 @@ ecm_setup_version(${PROJECT_VERSION} ...@@ -61,7 +61,7 @@ ecm_setup_version(${PROJECT_VERSION}
find_package(X11) find_package(X11)
set_package_properties(X11 PROPERTIES DESCRIPTION "X11 libraries" set_package_properties(X11 PROPERTIES DESCRIPTION "X11 libraries"
URL "http://www.x.org" URL "https://www.x.org"
TYPE OPTIONAL TYPE OPTIONAL
PURPOSE "Required for building the X11 based workspace" PURPOSE "Required for building the X11 based workspace"
) )
......
...@@ -1410,7 +1410,7 @@ QVariant ProcessModel::data(const QModelIndex &index, int role) const ...@@ -1410,7 +1410,7 @@ QVariant ProcessModel::data(const QModelIndex &index, int role) const
case HeadingStartTime: { case HeadingStartTime: {
// NOTE: the next 6 lines are the same as in the next occurrence of 'case HeadingStartTime:' => keep in sync or remove duplicate code // NOTE: the next 6 lines are the same as in the next occurrence of 'case HeadingStartTime:' => keep in sync or remove duplicate code
const auto clockTicksSinceSystemBoot = process->startTime(); const auto clockTicksSinceSystemBoot = process->startTime();
const auto clockTicksPerSecond = sysconf(_SC_CLK_TCK); // see man proc or http://superuser.com/questions/101183/what-is-a-cpu-tick const auto clockTicksPerSecond = sysconf(_SC_CLK_TCK); // see man proc or https://superuser.com/questions/101183/what-is-a-cpu-tick
const auto secondsSinceSystemBoot = (double)clockTicksSinceSystemBoot / clockTicksPerSecond; const auto secondsSinceSystemBoot = (double)clockTicksSinceSystemBoot / clockTicksPerSecond;
const auto systemBootTime = TimeUtil::systemUptimeAbsolute(); const auto systemBootTime = TimeUtil::systemUptimeAbsolute();
const auto absoluteStartTime = systemBootTime.addSecs(secondsSinceSystemBoot); const auto absoluteStartTime = systemBootTime.addSecs(secondsSinceSystemBoot);
......
...@@ -53,7 +53,7 @@ public: ...@@ -53,7 +53,7 @@ public:
mach_port_deallocate(mach_task_self(), cclock); mach_port_deallocate(mach_task_self(), cclock);
#else #else
timespec tp; timespec tp;
int isSuccess = clock_gettime(CLOCK_MONOTONIC, &tp); // see http://stackoverflow.com/questions/8357073/get-uptime-in-seconds-or-miliseconds-on-unix-like-systems int isSuccess = clock_gettime(CLOCK_MONOTONIC, &tp); // see https://stackoverflow.com/questions/8357073/get-uptime-in-seconds-or-miliseconds-on-unix-like-systems
Q_ASSERT(isSuccess == 0); Q_ASSERT(isSuccess == 0);
#endif #endif
return tp.tv_sec; return tp.tv_sec;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment