parent
fb31038a60
commit
5229e64309
|
@ -600,7 +600,7 @@ bool MainWindow::removeIcon()
|
||||||
switch ( this->OS ) {
|
switch ( this->OS ) {
|
||||||
case 1:
|
case 1:
|
||||||
// unix
|
// unix
|
||||||
p = "/usr/share/icons/logdoctor.svg";
|
p = "/usr/share/LogDoctor/LogDoctor.svg";
|
||||||
if ( std::filesystem::exists( p ) ) { // !!! remove later
|
if ( std::filesystem::exists( p ) ) { // !!! remove later
|
||||||
// menu entry exists, plan remove it
|
// menu entry exists, plan remove it
|
||||||
remove = true;
|
remove = true;
|
||||||
|
|
|
@ -75,7 +75,7 @@ private:
|
||||||
const unsigned int OS = 1;
|
const unsigned int OS = 1;
|
||||||
const std::filesystem::path exec_path = "/usr/bin";
|
const std::filesystem::path exec_path = "/usr/bin";
|
||||||
const std::filesystem::path conf_path = home_path + "/.config/LogDoctor";
|
const std::filesystem::path conf_path = home_path + "/.config/LogDoctor";
|
||||||
const std::filesystem::path data_path = home_path + "/.local/share/LogDoctor";
|
const std::filesystem::path data_path = "/usr/share/LogDoctor";
|
||||||
#else
|
#else
|
||||||
#error "System not supported"
|
#error "System not supported"
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue