Skip to content
Browse files
Fix bug that prints "Unknown error"
Then I try to start qtpass I get the message in the terminal "Unknown error" and the program closes, but this patch fixes that problem.
A workaround for this bug is to add a argument to the execution of qtpass, like "qtpass test". You can still use arguments to search in qtpass then starting the program.
  • Loading branch information
dvarum12 committed Nov 10, 2015
1 parent 3e62240 commit 3fc1dc77641187b134831face5e67beba8babc70
Showing with 3 additions and 1 deletion.
  1. +3 −1 main.cpp
@@ -19,7 +19,9 @@ int main(int argc, char *argv[])
//qDebug() << name;
SingleApplication app(argc, argv, name + "QtPass");
if (app.isRunning()) {
if (text.length() > 0) {
return 0;

0 comments on commit 3fc1dc7

Please sign in to comment.