Browse files

Remove @pyqtSlot for some non-QObject classes

Not sure if I got all, but at least I got the ones which fail
immediately on start.

See #1669.
  • Loading branch information...
The-Compiler committed Jul 21, 2016
1 parent ac25537 commit 63e466f01985abd7be275855f0af7450eb97d8e1
Showing with 1 addition and 7 deletions.
  1. +0 −1 qutebrowser/
  2. +1 −5 qutebrowser/config/
  3. +0 −1 qutebrowser/misc/
@@ -476,7 +476,6 @@ def __init__(self, args):
self._shutting_down = False
self._args = args
def on_last_window_closed(self):
"""Slot which gets invoked when the last window was closed."""
@@ -33,7 +33,7 @@
import collections
from PyQt5.QtCore import pyqtSignal, pyqtSlot, QObject, QUrl, QSettings
from PyQt5.QtCore import pyqtSignal, QObject, QUrl, QSettings
from qutebrowser.config import configdata, configexc, textwrapper
from qutebrowser.config.parsers import ini, keyconf
@@ -94,8 +94,6 @@ def __call__(self, func):
The decorated function.
if self._function:
@pyqtSlot(str, str)
def wrapper(sectname=None, optname=None):
if sectname is None and optname is None:
@@ -108,8 +106,6 @@ def wrapper(sectname=None, optname=None):
return func()
@pyqtSlot(str, str)
def wrapper(wrapper_self, sectname=None, optname=None):
if sectname is None and optname is None:
@@ -67,7 +67,6 @@ def __repr__(self):
def mark_dirty(self):
"""Mark this saveable as dirty (having changes).""""Marking {} as dirty.".format(self._name))

0 comments on commit 63e466f

Please sign in to comment.