mirror of
https://bitbucket.org/mfeemster/fractorium.git
synced 2025-01-21 05:00:06 -05:00
--Bug fixes -fractorium-sh was converted to windows format and someone changed qss file location.
This commit is contained in:
parent
9b50d065d9
commit
640944f60f
@ -1,23 +1,23 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
CONFIG_PATH=~/.config/fractorium
|
CONFIG_PATH=~/.config/fractorium
|
||||||
DARK_MAC=~/.config/fractorium/dark_mac.qss
|
DARK_MAC=~/.config/fractorium/dark_mac.qss
|
||||||
LIGHT_DARK=~/.config/fractorium/lightdark.qss
|
LIGHT_DARK=~/.config/fractorium/lightdark.qss
|
||||||
URANIUM=~/.config/fractorium/uranium.qss
|
URANIUM=~/.config/fractorium/uranium.qss
|
||||||
|
|
||||||
#./fractorium
|
#./fractorium
|
||||||
|
|
||||||
if [ ! -e "$DARK_LINUX" ] ; then
|
if [ ! -e "$DARK_LINUX" ] ; then
|
||||||
mkdir -p $CONFIG_PATH
|
mkdir -p $CONFIG_PATH
|
||||||
cp dark_mac.qss $CONFIG_PATH
|
cp dark_mac.qss $CONFIG_PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e "$LIGHT_DARK" ] ; then
|
if [ ! -e "$LIGHT_DARK" ] ; then
|
||||||
mkdir -p $CONFIG_PATH
|
mkdir -p $CONFIG_PATH
|
||||||
cp lightdark.qss $CONFIG_PATH
|
cp lightdark.qss $CONFIG_PATH
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -e "$URANIUM" ] ; then
|
if [ ! -e "$URANIUM" ] ; then
|
||||||
mkdir -p $CONFIG_PATH
|
mkdir -p $CONFIG_PATH
|
||||||
cp uranium.qss $CONFIG_PATH
|
cp uranium.qss $CONFIG_PATH
|
||||||
fi
|
fi
|
||||||
|
@ -666,7 +666,7 @@ QString QssDialog::OpenFile()
|
|||||||
|
|
||||||
return !filenames.empty() ? filenames[0] : "";
|
return !filenames.empty() ? filenames[0] : "";
|
||||||
#else
|
#else
|
||||||
auto filename = QFileDialog::getOpenFileName(this, tr("Open Stylesheet"), /*m_Parent->m_SettingsPath*/ "./", tr("Qss (*.qss)"));
|
auto filename = QFileDialog::getOpenFileName(this, tr("Open Stylesheet"), m_Parent->m_SettingsPath, tr("Qss (*.qss)"));
|
||||||
return filename.size() > 0 ? filename : "";
|
return filename.size() > 0 ? filename : "";
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user