Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Maui
Vvave
Commits
4651330e
Commit
4651330e
authored
Mar 07, 2018
by
Camilo Higuita
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix db issue were db folder wasn't created and use linked taglib instead of search for local one
parent
e1b6faa2
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
9 deletions
+4
-9
Babe.pro
Babe.pro
+0
-9
db/collectionDB.cpp
db/collectionDB.cpp
+4
-0
No files found.
Babe.pro
View file @
4651330e
...
...
@@ -124,12 +124,6 @@ HEADERS += \
#
TAGLIB
linux
:
unix
:
!
macx
:
!
android
{
message
(
Searching
local
TagLib
lib
)
LIBS
+=
-
ltag
}
else
:
android
{
message
(
Building
TagLib
for
Android
)
DEPENDPATH
+=
3
rdparty
/
taglib
DEPENDPATH
+=
3
rdparty
/
taglib
/
ape
...
...
@@ -388,9 +382,6 @@ HEADERS += \
3
rdparty
/
taglib
/
config
.
h
\
3
rdparty
/
taglib
/
taglib_config
.
h
\
}
#
INCLUDEPATH
+=
/
usr
/
include
/
python3
.
6
m
#
LIBS
+=
-
lpython3
.
6
m
...
...
db/collectionDB.cpp
View file @
4651330e
...
...
@@ -30,6 +30,10 @@ CollectionDB::CollectionDB(QObject *parent) : QObject(parent)
if
(
!
BAE
::
fileExists
(
BAE
::
CollectionDBPath
+
BAE
::
DBName
))
{
QDir
collectionDBPath_dir
(
BAE
::
CollectionDBPath
);
if
(
!
collectionDBPath_dir
.
exists
())
collectionDBPath_dir
.
mkpath
(
"."
);
this
->
openDB
(
this
->
name
);
qDebug
()
<<
"Collection doesn't exists, trying to create it"
<<
BAE
::
CollectionDBPath
+
BAE
::
DBName
;
this
->
prepareCollectionDB
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment