<div dir="ltr">     Changes<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
-------<br>
<br>
Work more, and reduce segfaults<br>
<br>
<br>
Repository: amarok<br>
<br>
<br>
Description (updated)<br>
-------<br>
Port of main.cpp and App<br></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
It compiles 100%, and there is a segmentation fault after the end of the App::continueInit().<br>
I'm not able to trace it further.<br>
<br>
Please help me to port well the main + App class so that the play, pause (and so one) commands are well read and to deal correctly with the unique/multiple instance.<br>
<br>
<br>
Diffs (updated)<br>
-----<br>
<br>
  src/App.h 2089981<br>
  src/scripting/scriptmanager/ScriptManager.cpp bb62be1<br>
  src/scanner/AbstractDirectoryWatcher.cpp 168c68a<br>
  src/org.kde.amarok.desktop PRE-CREATION<br>
  src/main.cpp 385e047<br>
  src/core/support/Components.cpp 9f97eb6<br>
  src/configdialog/dialogs/ScriptsConfig.cpp bbec667<br>
  src/amarok.desktop 433c757<br>
  src/browsers/filebrowser/FileBrowser.cpp 3d40d9b<br>
  src/TrayIcon.cpp be25497<br>
  src/PluginManager.cpp a9a1c47<br>
  src/CMakeLists.txt afeef4a<br>
  src/MainWindow.cpp d3bbc0b<br>
  src/App.cpp 6028bc8<br>
<br>
Diff: <a href="https://git.reviewboard.kde.org/r/125126/diff/" rel="noreferrer" target="_blank">https://git.reviewboard.kde.org/r/125126/diff/</a><br>
<br>
<br>
Testing (updated)<br>
-------<br>
<br>
It compiles 100%, and there is a segmentation fault after the end of the App::continueInit().<br>
<br>
I'm not able to trace it further.<br>
<br></blockquote><div><div><br><br>hello olivier,<br><br></div><div>I can try to help you out but could you please explain the last changes that you have made . Just a brief explanation about what was causing the seg fault and what did you do  to solve it . I
 understood the changes that involved changing of Kuniqueapplication to 
Qapplication but the one's you made after that,i have just applied them 
,so right now i am getting the same error as you are. You have alreay ported much of the main and app class what else needs to be done?<br></div><br>here's the output <br><a href="http://pastebin.com/5StyEUth">http://pastebin.com/5StyEUth</a><br><br><br> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Thanks,<br>
<br>
Olivier Churlaud<br>
<br></blockquote><div>thanks,<br></div><div>rishabh <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
</blockquote></div><br></div></div>