OSDN Git Service
(root)
/
neighbornote
/
NeighborNote.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a7c3b2
)
Change generation of files/paths in qss dir to use FileManager
author
Nick Clarke
<memorius@gmail.com>
Tue, 20 Jul 2010 01:22:59 +0000
(13:22 +1200)
committer
Randy Baumgarte
<randy@fbn.cx>
Fri, 23 Jul 2010 09:31:06 +0000
(
05:31
-0400)
src/cx/fbn/nevernote/NeverNote.java
patch
|
blob
|
history
diff --git
a/src/cx/fbn/nevernote/NeverNote.java
b/src/cx/fbn/nevernote/NeverNote.java
index
c861eb4
..
53c4035
100644
(file)
--- a/
src/cx/fbn/nevernote/NeverNote.java
+++ b/
src/cx/fbn/nevernote/NeverNote.java
@@
-943,7
+943,7
@@
public class NeverNote extends QMainWindow{
}
// Load the style sheet
private void loadStyleSheet() {
- String fileName = Global.
currentDir +"qss"+System.getProperty("file.separator")+ "default.qss"
;
+ String fileName = Global.
getFileManager().getQssDirPath("default.qss")
;
QFile file = new QFile(fileName);
file.open(OpenModeFlag.ReadOnly);
String styleSheet = file.readAll().toString();