[Libreoffice-commits] core.git: vcl/unx

Stephan Bergmann (via logerrit) logerrit at kemper.freedesktop.org
Mon Apr 15 13:55:49 UTC 2019


 vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 19ddbc1fc5e80a535e0f313d4491f7ae8441df57
Author:     Stephan Bergmann <sbergman at redhat.com>
AuthorDate: Mon Apr 15 15:53:45 2019 +0200
Commit:     Stephan Bergmann <sbergman at redhat.com>
CommitDate: Mon Apr 15 15:53:45 2019 +0200

    Fix --enable-gtk3-kde5 build
    
    ...after 639df4d76d545ca23021f69a9d738a9a92c148cd "use more std::make_unique"
    
    Change-Id: Iae8c84d33b36c9bc9208d0edcbff50bed9abca77

diff --git a/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx b/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx
index 47289d49cf27..1e0eacd7ff48 100644
--- a/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx
+++ b/vcl/unx/gtk3_kde5/kde5_filepicker_ipc.cxx
@@ -214,7 +214,7 @@ FilePickerIpc::FilePickerIpc(KDE5FilePicker* filePicker, QObject* parent)
     // read IPC commands and their args in a separate thread, so this does not block everything else;
     // 'commandReceived' signal is emitted every time a command and its args have been read;
     // thread will run until the filepicker process is terminated
-    m_ipcReaderThread = std::make_unique<std::thread>{ readCommands, this };
+    m_ipcReaderThread = std::make_unique<std::thread>(readCommands, this);
 }
 
 FilePickerIpc::~FilePickerIpc()


More information about the Libreoffice-commits mailing list